Character applying force to physics asset when falling off it
I have a first person UE4 scene here, with a number of physics enabled static meshes that are moved by switches. Those work- my issue now is stopping the player from being able to use force against those blocks to cheat the game.
I disabled physics interaction on the player, which now means they can't push them or run along the side to shift them with friction, good so far. However, there seems to be some kind of force whenever the player falls off the top of an object, by just walking over the edge. Whatever the force is, it seems independant of mass as the object is thousands of times heavier than the player, and occurs even with physics interaction for the player disabled.
The force also seems to be proportional to the speed of the player when they fall off the edge, and doesn't occur if the player jumps off instead. What's really interesting is if that if I disable "can walk off ledge", the player can sprint up to one edge and the block still moves beneath them a bit as soon as they touch the edge. This is with the default FPS character, and I've tested it with multiple meshes. Any ideas?
edit: might be connected to "perch" in the character movement, testing that now.
Solved: "Use flat base for floor checks" enabled, no more force applied to object when the character walks off the top.
answered Feb 16 '18 at 02:43 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here