reportCollisionVsWorld(px, py, dx, dy, obj)
Process a world collision and apply the resulting forces.
Parameters
Name | Type | Description |
---|---|---|
px | number | The tangent velocity |
py | number | The tangent velocity |
dx | number | Collision normal |
dy | number | Collision normal |
obj | number | Object this Tile collided with |
- Source code: physics/ninja/Tile.js (Line 194)
Please login to continue.