How do I make my pawn hit PhysicsActors "harder"?
The math behind movement and controls in my game is pretty complicated, so I'm using AddActorWorldOffset to do movement, with a custom collision class. It works, colliding with objects gives me that subtle bounce-off that I'm looking for, and physics actors are affected by being hit.
I just want them to be affected more. I want the same velocity of impact with my pawn to push them harder, make them fly away faster, and I have no idea what to change to tweak this.
And my collision logic:
To be clear, I like how my pawn is reacting to the collision, I want the static mesh that the pawn hits to react more violently.
asked Dec 03 '17 at 10:57 PM in C++ Programming
OtherComp->AddImpulse( ImpulseVectorYouWant, ... );
answered Dec 04 '17 at 12:24 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here