I am absolute beginner with unreal engine , I am working in car race project

here is my situation : I need to navigate my car in left and right direction using tilt

Here is what I do I read tilt sensor value then break vector to (X,Y,Z)

as appear in image I need to read Y value , I call set steering input passing Y value.

enter image description here

enter image description here

I hope my question be clear , I appreciate any help

  • \$\begingroup\$ give answer is better than minus ?? \$\endgroup\$ – Mina Fawzy Mar 23 '16 at 21:45
  • \$\begingroup\$ codeblog.jonskeet.uk/2010/08/29/writing-the-perfect-question \$\endgroup\$ – Almo Mar 23 '16 at 21:59
  • 1
    \$\begingroup\$ What's not working about the way you have things set up now? \$\endgroup\$ – MichaelHouse Mar 23 '16 at 22:58
  • \$\begingroup\$ it give me strange behaviour it steering around itself , I think I should multiple in number or something like that \$\endgroup\$ – Mina Fawzy Mar 24 '16 at 7:34
  • \$\begingroup\$ Unreal blueprints make me twitch. Its hard to explain, but the fact that this SetSteeringInput function is required, taking the object to steer as input feels backwards. It loses the linear relationship I expect from node based programming. And I have no idea what that white line represents at all or what relationship the Tilt object has to the SetSteeringInput function (is that function a member of Tilt not VehicleMovement? That seems doubly backwards). \$\endgroup\$ – Draco18s no longer trusts SE May 22 '17 at 17:40

after struggle with this issue I finally found the answer and I am here to share with all of you hope this help

enter image description here


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.