BALL/SPHERE movement question!

Hey @WDRK23,

Okay, thank you for the clarification with the controls. You roll the ball (as described above) and then you turn the ball left and right using turn inputs (for example W and D) and the ball moves the direction that is indicated as forward. This is actually a simpler solution than you’d think.

First you need to add a scene component as a control. The reason we want this is because as you rotate your sphere, the position of your z axis will move, leading to the ball not wanting to turn the direction you are going.

Using the scene component, you are going to get the transform direction and use that for your torque. Then you are going to want to turn the scene component to change your forward direction. Finally, you will need to update your scene component to the balls location.

UnrealEditor_4y81jvHC3M

Let me know if this works for you!

2 Likes