Playmaker Forum
PlayMaker Help & Tips => PlayMaker Help => Topic started by: Terry213 on July 18, 2018, 08:39:16 AM
-
How would I get my vehicle to rotate back to 0 degrees in the Y-axis after it makes a turn. Right now when my vehicle turns it keeps the same rotation even when going forward.
-
I dunno. it depends on how you turn. if you get X from the joystick, and rotate the car by X, to undo it, you should be able to rotate -X.
If the issue isn't turning, and its the direction of travel when the cars supposed to stop turning, you would have to look at how to adjust the cars trajectory in the first place
-
I figured it out. I'm using the Control Freak 2 asset and I just used the CF2 Mouse Look action for the vehicle character controller and then I used the same action for the actual vehicle mesh so it will rotate. For the CF2 Mouse Look action for the vehicle mesh, I just placed a minimum and maximum rotation so it's limited unlike the actual character controller which you can freely rotate.