Impact Interaction System API
|
Contains data relating to an interaction. More...
Public Member Functions | |
IInteractionData | Clone () |
Create new interaction data with values copied from this interaction data. More... | |
Properties | |
int | InteractionType [get, set] |
Integer representing the type of interaction such as Collision, Slide, Roll, and Simple. It is up to interactions to determine how this value affects the interaction. More... | |
Vector3 | Velocity [get, set] |
The Velocity of the interaction. More... | |
Vector3 | Point [get, set] |
The contact point at which the interaction occured. More... | |
Vector3 | Normal [get, set] |
The normal of the surface where the interaction occured. More... | |
ImpactTagMask? | TagMask [get, set] |
The tags retrieved from the object we are interacting with, represented as an integer bitmask. This can be null if we were not able to get the object being interacted with. More... | |
float | CompositionValue [get, set] |
If using material composition, a 0 to 1 value representing the influence of the material at the contact point. More... | |
int? | PriorityOverride [get, set] |
If specified, this will override the Priority value of the Impact Object. More... | |
GameObject | ThisObject [get, set] |
The object these parameters are being sent from. More... | |
GameObject | OtherObject [get, set] |
The object we are interacting with. More... | |
Contains data relating to an interaction.
IInteractionData Impact.IInteractionData.Clone | ( | ) |
Create new interaction data with values copied from this interaction data.
Implemented in Impact.InteractionData.
|
getset |
If using material composition, a 0 to 1 value representing the influence of the material at the contact point.
Implemented in Impact.InteractionData.
|
getset |
Integer representing the type of interaction such as Collision, Slide, Roll, and Simple. It is up to interactions to determine how this value affects the interaction.
Implemented in Impact.InteractionData.
|
getset |
The normal of the surface where the interaction occured.
Implemented in Impact.InteractionData.
|
getset |
The object we are interacting with.
Implemented in Impact.InteractionData.
|
getset |
The contact point at which the interaction occured.
Implemented in Impact.InteractionData.
|
getset |
If specified, this will override the Priority value of the Impact Object.
Implemented in Impact.InteractionData.
|
getset |
The tags retrieved from the object we are interacting with, represented as an integer bitmask. This can be null if we were not able to get the object being interacted with.
Implemented in Impact.InteractionData.
|
getset |
The object these parameters are being sent from.
Implemented in Impact.InteractionData.
|
getset |
The Velocity of the interaction.
Implemented in Impact.InteractionData.