The title explains it. I’ve been trying to figure it out for a while now im trying to make a horror game with those mechanics.
If the magnitude of the player’s Rigidbody velocity vector is less than or equal to a tiny value, move. Else, don’t?
It’s easy. First write an AI that moves your monster (OK, that part isn’t easy, but the rest is). Next figure out how to tell if the player is moving. Then at the front of your monster AI put a line like “if player is moving, skip all this”.
1 Like