The projection of a point on a collider.

Constructors

Properties

Methods

Constructors

Properties

isInside: boolean

Is the point inside of the collider?

point: Vector

The projection of the point on the collider.

Methods

  • Parameters

    • raw: RawPointProjection

      The raw projection returned by the WASM query. It is freed by this method.

    • Optional target: PointProjection

      If provided, this object is populated and returned instead of allocating a new one.

    Returns PointProjection