Implementation of the IImpactContactPoint interface.
More...
|
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 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 collider. More...
|
|
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...
|
|
Implementation of the IImpactContactPoint interface.
◆ ImpactContactPoint() [1/2]
Impact.ImpactContactPoint.ImpactContactPoint |
( |
ContactPoint |
contact3D | ) |
|
Initializes the contact point with data from a ContactPoint.
- Parameters
-
contact3D | The source ContactPoint data. |
◆ ImpactContactPoint() [2/2]
Impact.ImpactContactPoint.ImpactContactPoint |
( |
ContactPoint2D |
contact2D | ) |
|
Initializes the contact point with data from a ContactPoint2D.
- Parameters
-
contact2D | The source ContactPoint2D data. |
◆ Normal
Vector3 Impact.ImpactContactPoint.Normal |
|
getset |
◆ OtherObject
GameObject Impact.ImpactContactPoint.OtherObject |
|
getset |
◆ OtherPhysicsMaterialID
int Impact.ImpactContactPoint.OtherPhysicsMaterialID |
|
getset |
◆ PhysicsType
◆ Point
Vector3 Impact.ImpactContactPoint.Point |
|
getset |
◆ ThisObject
GameObject Impact.ImpactContactPoint.ThisObject |
|
getset |
◆ ThisPhysicsMaterialID
int Impact.ImpactContactPoint.ThisPhysicsMaterialID |
|
getset |