Options
All
  • Public
  • Public/Protected
  • All
Menu

Collision object that is the parameter when notification for collision fires.

Hierarchy

Index

Properties

collidedAgainst: PhysicsBody

2nd physics body that collided

collidedAgainstIndex: number

index in instances array for the collidedAgainst

collider: PhysicsBody

1st physics body that collided

colliderIndex: number

index in instances array for the collider

distance: number

Penetration distance

impulse: number

Impulse value computed by the solver response

normal: Nullable<Vector3>

Collision world normal direction

World position where the collision occured

Event type

Legend

  • Constructor
  • Property
  • Method
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Property
  • Method
  • Static method

Settings

Theme