apply_force

The difference between the Force and Impulse is that Impulse is recommended for one time instant burst. To apply an impulse to an Actor, follow up this tutorial but in the logic of the MoveChosenActor type in the following code:

PS: I’m aware of the fact that we are not adding a force in this case, but the parameter in the AddImpulse function has the same name with the previous tutorial so the code can be consistent

Share postShare on Facebook0Tweet about this on TwitterShare on LinkedIn0Share on Reddit0