This is an internal handler, called by the ProcessX
function as part
of the collision step. You should almost never call this directly.
name | type | arguments | description |
---|---|---|---|
x | number |
The amount to add to the Body position. |
|
vx | number | <optional> |
The amount to add to the Body velocity. |
left | boolean | <optional> |
Set the blocked.left value? |
right | boolean | <optional> |
Set the blocked.right value? |