new b5.A_ApplyImpulse(target, ix, iy, dx, dy){b5.A_ApplyImpulse}
actions/generic/physics.js, line 162
Action that applies an impulse to an object then exits
Created actions should be added to an actor or scenes actions list to be processed
For a complete overview of Actions see Booty5 Actions Overview
| Name | Type | Description |
|---|---|---|
target |
string | b5.Actor |
Path to or instance of target object that will be affected |
ix |
number |
x-axis impulse |
iy |
number |
y-axis impulse |
dx |
number |
x-axis offset to apply force |
dy |
number |
y-axis offset to apply force |
Returns:
| Type | Description |
|---|---|
| b5.A_ApplyImpulse | The created action |