-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Setup collision event detection for tower sensor and enemies
Also update enemy config with min distance to target Here are some References/Notes for collision updates: - dimforge/bevy_rapier#165 (comment) - https://rapier.rs/docs/user_vuides/bevy_plugin/colliders/#active-collider-types - This enabled collision detection (in our case static to static) - https://rapier.rs/docs/user_vuides/bevy_plugin/colliders/#active-events - This lets us read these collision as events - https://rapier.rs/docs/user_vuides/bevy_plugin/advanced_collision_detection - setup code for the event reader
- Loading branch information
1 parent
d086fba
commit 9f2c5c1
Showing
1 changed file
with
16 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters