Skip to main content

Collision

info
  • This class is only available on LocalAvatarScripts and LocalScripts

Describes a collision.

Instance Properties

Property NameProperty TypeDescription
impulsefloat3The total impulse applied to this contact pair to resolve the collision (Read only)
relativeVelocityfloat3The relative linear velocity of the two colliding objects (Read only)
colliderColliderThe collider that was hit (Read only)
itemItemThe item of the object that was hit (Read only)
contactsContactPoint[]Gets all the contact points for the collision (Read only)