reportCollision(px, py, dx, dy)
Process a collision partner-agnostic collision response 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 128)
Please login to continue.