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 Circle collided with |
- Source code: physics/ninja/Circle.js (Line 132)
Please login to continue.