Character causes extreme force on actors with physics enabled when walking on top of them and hitting collision

My character has a weird interaction with actors that have “Can character step on“ enabled on them. It only happens when the character encounters a bump in the other actor’s collision, like that box on top of the Crocodile MK1 Tank.

Same problem with the truck and it becomes absolutely god-awful when the character steps on something that has physics enabled like how he goes flying in the end.

What could be the issue here? I’m guessing Max Depenetration Velocity, and am currently testing by setting it to the lowest value on as many collision components as I can find in these actors.

Any other idea as to why this happens? Note that this does not occur if I set “Can Character Step On“ to off on the collision of the actor.

image

However, setting this to No, makes the character unable to stand on top at all. He just slips off entirely.

PS: I tried setting Max Depenetration Velocity to 0.00001 on all collisions inside the character and actor and still the same issue.

The “problem” here is that the character movement is not physical. It is handled by the controller and the physics are resolved after. This means the character is moved to intersect the object and the physic simulation then moves the objects out of collision based on character’s velocity.

Try disabling physics interactions for your character while on top of a physical object.

Alternative approaches would be to just simplify the collision to be smoother on top of the object or outright flat. (though there might be some force exerted when the surface is at an angle)

The third approach would be to to go in code, find the place where the force is exerted and stop it if it is on the same object you were last standing on. This might be a bit complicated though.

My apologies, I forgot a crucial piece of info, the vehicles derive from the FGear vehicle system class, which might also have a hand in this behaviour. I turned off Physics Interaction and my character can’t push physics objects around anymore, but the issue still persists with the vehicles. I’ve posted in the FGear support page too about this.

Yea, this should have disabled physics interactions of your character with the world altogether.

I think the issue is some specific interaction between the character movement component and the tank movement component (FGear).