Manatee personal space checks
Closed this issue · 2 comments
Check that the manatee accurately knows when its in personal space. I ran into an issue where, probably because the manatee has 2 separate colliders, OnTriggerEnter and exit are being called twice (although it really shouldnt?) I do not know if this is an issue, so I am just writing it here to check later
Colliders are difficult when working with a hierarchy of items. One concern, which may be unfounded:
- Player enters manatee's personal space
- Player's compound collider has "entered" the manatee's compound collider
- Player tries to pet manatee
- Since the fin colliders are part of the player hierarchy, which is already colliding with the manatee, the OnTriggerEnter event is not called
- The player therefore is unable to pet the manatee
Once again, I am not sure if this is what is really happening. One issue is that it has been reported that petting the manatee does not trigger the interaction event, and this is my idea for what could be causing it.
I believe this issue is fixed! the player's personal space was not actually following the player, and was instead somewhere static in the world