playMaker

Author Topic: Vehicle set up issue (SOLVED)  (Read 466 times)

Terry213

  • Playmaker Newbie
  • *
  • Posts: 36
    • View Profile
Vehicle set up issue (SOLVED)
« on: July 18, 2018, 05: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.
« Last Edit: July 19, 2018, 12:41:59 PM by Terry213 »

verybinary

  • Junior Playmaker
  • **
  • Posts: 81
    • View Profile
    • The Museum of Digital
Re: Vehicle set up issue
« Reply #1 on: July 18, 2018, 11:49:25 AM »
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

Terry213

  • Playmaker Newbie
  • *
  • Posts: 36
    • View Profile
Re: Vehicle set up issue
« Reply #2 on: July 19, 2018, 12:41:27 PM »
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.