Camera Relative Movement
I'm creating a character with a dodge ability, and i want him to dodge towards the camera, regardless of the direction the character is facing.
I'm using a mover and i notice there's an input to change the direction of movement, but i don't know what i should plug into it so the movement is always relative to the camera.
Anyone have a tip?
-
You can get the camera’s current position from the global settings gadget. Then to get that relative to the puppet, add a tag to the player chip to get the position from it. Then subtract the camera from the player pos (just use a calculator and it’ll work).
-
Ah yes, thanks! I'll give it a try.
Please sign in to leave a comment.