How can I stop my character from moving fowards & backwards permanatly

I’m using version 4.14, RollingBall Gamemode, Mobile platform. I need to not allow my character (The PhysicsBallBP) to move forwards or backwards ever, only left, right and up. (can’t go down because of floor already) I can’t figure out how to do this. Thanks for any help!

If you want to constraint the movement on a specific plane, in your case probably XZ, you can set that under the “Physics” settings of your static mesh component, open the “Constraint” category and you will find the settings you need.

If you want to set this for every physics object in your project you can do this in your “Project Settings”->“Engine”->“Simulation”->“Default Degrees of Freedom”.