Hi everyone,
I want to write a script for a cube GameObject that detects when the user's palm is facing it for more than 3 seconds and apply a force to it that pushes is in the opposite direction, kind of a force push in star wars.
So far i have the interaction manager attached to my player rig and the interaction behaviour script attached to the gameObject.
My problem is i don't know how to get the palmNormal vector in my script, could anyone give me a script to just get it or a link to where i can find how to do it?
Thank you very much !