Now I got this simple problem. The character must be able to only move/rotate by 2 vectors. Y vector is forbidden completely in whole game except physical objects. What could be the problem here, how can I keep my characters position same by Y vector all the time, and currenly why it is going off it’s supposed direction?
And there is this bug ![]()
Hey again @NEYSE_O001 !
Firstly, select your character movement component in the hierarchy, and go to the details panel. Then you want to find and disable “Orient Rotation to Movement” and “Use Controller Rotation Yaw”.
Next look for “Planar Movement” and “Constrain Normal”. You want to set the Y-axis constraint to restrict movement along the Y-axis here. ![]()
Hope that helps!
As for the bug there… that’s physics for ya. Wonky in any engine.
So whas that all? And what all those stuff (planar movement, orient rotation to movement etc.) do and why do they matter here?
Also, is there way to set everything, even pysical, and destructible object’s location still by just one vector? I oppened a question for it actulally but no one answered.
The other stuff keeps the character from rotating its body even if it can’t move that direction.
Yes, for a physics object you have to add a “Physics Constraint” component to the blueprint, then find it in the details just like you did here, 1 on the Y axis etc.
For Chaos Geometry actors (if you use those) you have to place a constraint in the level and attach it to the chaos geometry actor there. ![]()
Hope that helps!
