Hello
I have to transform runing on the screen, I would like to know when one is going in the same direction as the other or going in the opposite direction (+/- 20%).
Does anybody know how to do that ?
Thank you.
Hello
I have to transform runing on the screen, I would like to know when one is going in the same direction as the other or going in the opposite direction (+/- 20%).
Does anybody know how to do that ?
Thank you.
merci
This is not excatly what I’m looking for.
ObjA will tell me if it’s move toward ObjB but I would like to know if both object are moving in the same direction.
I would like to know if ‘forward’ of ObjA is close (or not) to ‘forward’ of ObjB.
maybe look at the the dot product of your vector
it’s often very handy to use for various things ![]()
I’ll have a look. thank you.