reportCollisionVsWorld(px, py, dx, dy)
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 |
- Source code: physics/ninja/AABB.js (Line 202)
Please login to continue.