how to determine if a object is chasing another object?
Something like ER:LC has implemented, where they detect a pursuit.
I have never played ER:LC, what exactly do you want to achieve?
Detecting a pursuit, which might be complicated.
Which means, detect if the suspects stops, or flees
Like if a player is chasing another player?
Yes. I was possibly planning on storing positions but I don’t think it’s good for performance
What you could do is, if you have guns, if the player is shot then you return as “in pursuit” or something. If you don’t have have guns or don’t like that, then you could also use magnitude and see if a player is close to another player for an amount of time.
1 Like