Announcement

Collapse
No announcement yet.

Gear Up, Gear Down, and Use Auto Gear events

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Gear Up, Gear Down, and Use Auto Gear events

    How do I set up Gear Up and Gear Down events to simulate a vehicle with manual transmission? How do I check the speed (not throttle) of a vehicle to see if it's moving backwards? How do I convert m/s to mph?

    #2
    Originally posted by jeffmorris View Post
    How do I set up Gear Up and Gear Down events to simulate a vehicle with manual transmission?
    This should be trivial. If you set bUseGearAutoBox to false you'll get a manual transmission. SetGearUp / SetGearDown are functions that you can call to change gear.

    Originally posted by jeffmorris View Post
    How do I check the speed (not throttle) of a vehicle to see if it's moving backwards?
    This is also trivial since you can just get the velocity of any given actor, then get the size of that velocity vector. The function will return the velocity as given by the movement component.

    Originally posted by jeffmorris View Post
    How do I convert m/s to mph?
    Honestly?
    http://lmgtfy.com/?q=How+do+I+convert+m%2Fs+to+mph%3F

    Comment

    Working...
    X