I was experimenting different movements on an object, I’ve set motion based on location and rotation.
I want my object to go in the direction given by the rotation when it’s on the Z axis, but for the rest I don’t want to because if make a rotation up or down the object go up in the air.
My object is set as dynamic by the way. It must stay on the ground at all time and not fly anywhere. The same thing applies for lateral and backward movements.
I was just wandering if there was an easy to do it in the logic editor or if it needs a python script.
I tried to uncheck the “L” in the motion actuator, then it doesn’t fly anymore, but it only goes forward and doesn’t follow the direction of rotation on the Z axis.
I’ve joined picture of my logic editor, so you better understand it.
Thank you in advance for any help you may give me.