Click here to Skip to main content
15,949,809 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
So, I am trying to create a stealth game and to do that I created enemy and attached box with box collider component and IsTrigger is checked to the eyes of the enemy so that cube serves as vision and whenever a player enters that trigger, the enemy starts going after the player. The problem is as soon as a player enters the trigger, it glitches by
swiftly sitting and standing perhaps due to collisions of colliders of my player and enemy vision cube I don't know maybe it happens because of Unity itself and need to update the program or something like that

What I have tried:

Tried to use various colliders like sphere, capsule.
Posted
Updated 15-Jan-18 3:35am
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900