Announcement

Collapse
No announcement yet.

How can I move my vehicle without keys?

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

    How can I move my vehicle without keys?

    Good day!

    I wanna move my car due to some condition.
    I can't use methods like "Move to location", but I want to know, can I move the car for some distance ahead? Or to signal its to turn wheels left?
    Maybe I can simulate keystrokes?
    Help me, guys, I have to complete this for tomorrow
    Last edited by ArgentumRaccoon; 10-04-2015, 06:37 AM.

    #2
    Yes of course you can do this. The move to location simply lerp's the position between 2 points. So just create a timeline that is the length of however long you want it to take, set the value at 0 to be 0 and value at x to be 1. Then use that as the alpha to lerp between your current location and the location you want to go to.

    Comment


      #3
      I tried to use "Move to location".
      But the car didn't move according to the rules of car movement.
      It just "floated" under the ground without animation and turns :/

      Comment


        #4
        You're going to have to program your own vehicle AI, see more here:
        https://answers.unrealengine.com/que...ehicle-ai.html

        Comment

        Working...
        X