This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| ixe:irpl:unit:addphysicsforce [2025/01/24 19:32] – [Description] More info Argonwolf | 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 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 force pixels/ | + | 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 "force" |
| + | |||
| + | A more in-depth explanation of force vs impulse can be found here: [[https:// | ||
| ===== Examples ===== | ===== Examples ===== | ||
| <code 4rpl> | <code 4rpl> | ||
| </ | </ | ||