Based on the FPS template, I would like to implement a function that an moving object pushes the player character out of the way.
When I tried to use the addforce node, I was warned to turn on physics in the collisioncylinder of the character. I complied and now the player character does not move at all.
What is the cause of this?
(UE5.1)
Hey there @iwtg251! So simulating physics on a player isn’t going to help in this case, as you don’t want to add force via physics as the player character doesn’t move via physics. What you may want to do is use something more akin to launch character. Here’s a video tutorial!
Disclaimer: One or more of these links are unaffiliated with Epic Games. Epic Games is not liable for anything that may occur outside of this Unreal Engine domain. Please exercise your best judgment when following links outside of the forums.
As an aside, there are two methods of movement in engine, direct movement (translation) and physics. You won’t often want to use physics on the character BP, however you may use it on the character skeletal mesh to make a ragdoll occur.