Physical Constraint to Walls
Is it possible to constrain a physics actor so thats its movement is attached to the floor, and if a force is applied it will not leave contract with the floor?
Additionally could this be expanded to allow it to roll along the floor and up a wall perhaps onto a ceiling, like a strange version of magnetic air hockey!
Many thanks, this is really important!
asked Mar 20 '19 at 07:22 PM in Using UE4
One simple way to constrain a physic actor to a plane (wall, floor) is by playing around with the constraints options inside the Physics category.
In this example, I have locked the position on Z axis, which makes my physic actor stay on a plane parallel to the ground. You can aswell look into the Mode drop-down for more specific needs.
Hope it helps!
Follow this question
Once you sign in you will be able to subscribe for any updates here