What is the use of ApplyRepulsionForce?

Commander_Shepard
Mon, 30 Nov 2015 20:24:21 +0000
Character & Animation

In CharacterMovementComponent.cpp you can find a Function named ApplyRepulsionForce The comment in the header file says

“Applies repulsion force to all
touched components.”

What is it exactly needed for? is it to keep colliding things away from the character? if yes then why not let character’s motion push them around naturally?

2 posts - 2 participants