MCPcopy
hub / github.com/piqnt/planck.js / ShapeCastOutput

Class ShapeCastOutput

src/collision/Distance.ts:796–801  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

794 * Output results for b2ShapeCast
795 */
796export class ShapeCastOutput {
797 point: Vec2 = Vec2.zero();
798 normal: Vec2 = Vec2.zero();
799 lambda = 1.0;
800 iterations = 0;
801}
802
803/**
804 * Perform a linear shape cast of shape B moving and shape A fixed. Determines

Callers

nothing calls this directly

Calls 1

zeroMethod · 0.45

Tested by

no test coverage detected