Move player forward In their direction
-
How would I move an object forwards or backwards of the direction its facing. Example: A cube is facing the right so want to move to the right. This mostly only affects top down games.
-
The built in Joystick controlled behaviour should handle this automatically. Make sure the "should flip" toggle is on.
-
Im trying to make a raycasting system, and i need to move a projectile out of a wall from where it came frim
-
@IAmPotat The Raycast Test behavior outputs a
normalfield. This is the angle that the ray would travel if it were to reflect. You can use this to rotate an object to that angle, and then use a Calculate Direction behavior to calculate thex_vectorandy_vectorfrom the center of the object to where it's facing. You can use those values to determine how much your object moves when a ray has intersected with an object.If you need help on how to use the behavior, this video has step-by-step examples:
-
I IAmPotat marked this topic as a question