Playmaker Forum
PlayMaker Help & Tips => PlayMaker Help => Topic started by: Nog on July 23, 2015, 06:26:03 PM
-
Is it possible to freeze the positions of a game object so that it will only move in the local Z position? I have a game object that follows the player, but I just want the game object to move forward and not side to side. I can freeze the game object in world space using the get and set position actions, but the forward axis of world space changes according to the location of the game object. Changing the get and set positions to self does nothing.
-
Hi,
if you add the component "rigidbody" you can use Constraints to freeze positions and rotations,
you can set drag to 0 and disable gravity when needed
-
Thank you djaydino. I will give that a try.