How do vehicle seats "know" which direction to go?

I am trying to make my boat steer, and figuring out how to do that the way I want to is pretty tough.

Ideally, I would like my steering system to function identically to vehicle seats. This way, you can drive it on all platforms— on your computer, you can use WASD to change direction, on your phone, the control stick, and on Xbox, the joystick. The problem is figuring out which direction the player is trying to go with these inputs. I guess the core scripts have some magic way of determining the direction the user is headed?

Does anyone know how I can give my steering system similar functionality?

well. what you can do is just grab an vehicle seat and then use the input from stear and throttle to move your boat. you could use an bodyforce to move the boad forward and make it stear

1 Like

Do you care to provide an example of how I would apply those to a body force?

install the body force inside an part and then set the force with an vector3 just for forward and backward movement set vector3.new(1,0,0) on 1,2,3 and 4 th bodyforce, for turning do vector3.new(0,0,1) on 1 and 2 image

1 Like