Impact Interaction System API
Impact.IImpactContactPoint Interface Reference

An interface for consolidating 3D and 2D collision contact point data. More...

Inheritance diagram for Impact.IImpactContactPoint:
Impact.ImpactContactPoint

Properties

Vector3 Point [get, set]
 The contact point of the collision. More...
 
Vector3 Normal [get, set]
 The surface normal at the contact point. More...
 
GameObject ThisObject [get, set]
 The object that recieved the collision event. More...
 
GameObject OtherObject [get, set]
 The object we are colliding with. More...
 
PhysicsType PhysicsType [get, set]
 Whether the source contact point data was 3D or 2D. More...
 
int ThisPhysicsMaterialID [get, set]
 The instance ID of the Physic Material or Physics 2D Material that was on this object. More...
 
int OtherPhysicsMaterialID [get, set]
 The instance ID of the Physic Material or Physics 2D Material that was on the other object. More...
 

Detailed Description

An interface for consolidating 3D and 2D collision contact point data.

Property Documentation

◆ Normal

Vector3 Impact.IImpactContactPoint.Normal
getset

The surface normal at the contact point.

Implemented in Impact.ImpactContactPoint.

◆ OtherObject

GameObject Impact.IImpactContactPoint.OtherObject
getset

The object we are colliding with.

Implemented in Impact.ImpactContactPoint.

◆ OtherPhysicsMaterialID

int Impact.IImpactContactPoint.OtherPhysicsMaterialID
getset

The instance ID of the Physic Material or Physics 2D Material that was on the other object.

Implemented in Impact.ImpactContactPoint.

◆ PhysicsType

PhysicsType Impact.IImpactContactPoint.PhysicsType
getset

Whether the source contact point data was 3D or 2D.

Implemented in Impact.ImpactContactPoint.

◆ Point

Vector3 Impact.IImpactContactPoint.Point
getset

The contact point of the collision.

Implemented in Impact.ImpactContactPoint.

◆ ThisObject

GameObject Impact.IImpactContactPoint.ThisObject
getset

The object that recieved the collision event.

Implemented in Impact.ImpactContactPoint.

◆ ThisPhysicsMaterialID

int Impact.IImpactContactPoint.ThisPhysicsMaterialID
getset

The instance ID of the Physic Material or Physics 2D Material that was on this object.

Implemented in Impact.ImpactContactPoint.