Direction for adding torque in the rolling ball template

I was looking at the rolling ball template, it is very straightforward except for handling the input, the vector applied to the add torque seems a bit odd to me.

4056658e03f3d7fe8b41dcba3b63f3b1b97eeebb.jpeg

as you may see in the image, the axis for forward is x. However, in the blueprint graph, the moveforward is creating a torque vector with value set to y.

fe9d2e70a9e98e9f780411bd2453c11213cc0405.jpeg

can anyone help me explain this?

Thanks

Torque is applied around the axis of rotation. So if you want to move forward in the X direction, you need to apply torque around the Y Vector to spin the ball forwards. If you want to make the ball spin on its axis you would apply Torque on the Z (spinning around the Z axis).

Think of the axis like the axle of a wheel. :slight_smile: