Simulating gravity when moving up or down an incline

just straight vector propulsion

Torque is for adding angular momentum - rotating. Add Force / Impulse is linear - direction. There’s a difference between the 2 nodes:

Add Impulse is generally used as a singular event if you want to transfer that much force in one go. Kick a ball, a projectile connects with target, start a ragdoll.

Add Force would be the propulsion thruster.


There is also this component:

Which can simplify things if you need several points at which forces are applied; also comes in node flavour:


On top of that, you can override physics with Set Linear Velocity / Angular nodes. This will disregard what the physics is currently doing and produce a new traverse velocity / angular (but they can be made additive, too):

image

The above examples work with physics.


Add World Offset, on the other hand, moves an actor from A → B instantaneously using a delta and has nothing to do with physics. But you can apply a small Add World Offset value every frame. And its Sweep can be used to detect collision (not without limitations, though; it’s by no means perfect out of the box):

Still, no physics here.

1 Like