cbt24
a6db06a82c
Boats now reverse smoothly when colliding
...
- Collision objects specify which boat is colliding
- RaceLogic sets up an observable CollisionCommand when collision bubbles up
- Boats now selectively identify observers of collision
#story[1196]
8 years ago
cbt24
eaa0d2e82b
Boats bounce away from marks.
...
- Changed onCollisionEnter signature to pass boat info
#story[1100]
8 years ago
cbt24
8113867576
Bubbles collision events to RaceLogic
...
- ColliderRegistry collects and forwards all Collision events
- RaceLogic observes the ColliderRegistry of its single Race instance
#story[1100]
8 years ago
cbt24
79f3c41d45
Moved generic ray casting to Collider abstract class
...
- Boat is now collider
- Collider subclasses specify their own collision ray and collision handler
#story[1100]
8 years ago
cbt24
9ca50aa66c
Ray casting now only supports distance specification.
...
#story[1100]
8 years ago
cbt24
7d64a43350
Allow collision checking to provide collision parameters to ray casting method
...
- Added tests for MockBoat collision direction and distance
#story[1100]
8 years ago
cbt24
2fbb96afd7
Created ray casting methods for MockBoat and CompoundMark
...
- Added ColliderRegistry to Race
- Added collision triggering to RaceLogic
- Created basic collision handlers for MockBoat and CompoundMark
8 years ago
Connor Taylor-Brown
7474de9816
Created foundation classes and interfaces for collision architecture.
...
- Added Collider interface
- Added Collision class
- Added ColliderRegistry class
#story[1100]
8 years ago