Home Unreal Engine

Flying forward while controlling movement

salochin59
polycounter lvl 12
Offline / Send Message
salochin59 polycounter lvl 12
In Kismet I have "Level Loaded" with "Loaded and Visible" wired to "Set Velocity". That is causing my air plane to fly forward automatically. Which is what I want. I also have set up 4 "Key/Button Pressed" nodes for WSAD controls. Each one of them has their own "Set Velocity". When I press a button I move the correct direction. The problem I am having is when I press a button the plane stops moving forward. How do I control my plane while still automatically flying forward?

Replies

  • blankslatejoe
    Options
    Offline / Send Message
    blankslatejoe polycounter lvl 18
    sounds like your control velocity kismet is overriding your forward velocity. You probably want to add the two velocity values together and then set velocity on that result. You might need to normalize all the vectors and then multiply the results by a desired speed though...can't remember for sure and my vector math skillz are...crappy.
  • salochin59
    Options
    Offline / Send Message
    salochin59 polycounter lvl 12
    Thank you for the suggestion. I will see what I can do. I will give it a shot today. I have been away from Unreal for the past week.
Sign In or Register to comment.