Skip to main content

SeparationInfo

Specific information about a contact and it's separation

Index

Constructors

constructor

Properties

axis

axis: Vector = ...

Axis of separation from the collider's perspective

collider

collider: Collider

Collider A

optionallocalAxis

localAxis?: Vector = ...

Local axis of separation from the collider's perspective

optionallocalPoint

localPoint?: Vector = ...

Local point on collider B (incident point)

optionallocalSide

localSide?: LineSegment = ...

Local side of separation (reference) from the collider's perspective

point

point: Vector = ...

Point on collider B (incident point)

separation

separation: number

Signed value (negative means overlap, positive no overlap)

optionalside

side?: LineSegment = ...

Side of separation (reference) from the collider's perspective

optionalsideId

sideId?: number

Index of the separation side (reference) from the collider's perspective