# How can I use tilt sensor in iOS iPad to steering a car

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.

I hope my question be clear , I appreciate any help

• give answer is better than minus ?? – Mina Fawzy Mar 23 '16 at 21:45
• codeblog.jonskeet.uk/2010/08/29/writing-the-perfect-question – Almo Mar 23 '16 at 21:59
• What's not working about the way you have things set up now? – MichaelHouse Mar 23 '16 at 22:58
• it give me strange behaviour it steering around itself , I think I should multiple in number or something like that – Mina Fawzy Mar 24 '16 at 7:34
• 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). – Draco18s no longer trusts SE May 22 '17 at 17:40