This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| ixe:irpl:unit:addphysicsforce [2025/01/07 17:58] – created - external edit 127.0.0.1 | ixe:irpl:unit:addphysicsforce [2025/02/14 14:57] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 5: | Line 5: | ||
| ===== Description ===== | ===== Description ===== | ||
| - | Adds a physics force to a unit containing part. Force is V2. ForceOrImpulse is a bool. | + | Adds a physics force to a unit containing part. Force is a V2 representing the x and y components of the applied force. ForceOrImpulse is a bool; if false, the applied force is equal to the amount needed to accelerate the unit by " |
| + | A more in-depth explanation of force vs impulse can be found here: [[https:// | ||
| ===== Examples ===== | ===== Examples ===== | ||
| - | < | + | < |
| </ | </ | ||