Impact CFX API 1.5.0
Comprehensive API documentation for Impact CFX - Collision Effects System
Loading...
Searching...
No Matches
ImpactCFX.ImpactObjectCustomVelocity Class Reference

Implementation of an Impact Object that calculates a velocity using the position and rotation of the object. More...

Inheritance diagram for ImpactCFX.ImpactObjectCustomVelocity:
ImpactCFX.ImpactObjectSingleMaterial ImpactCFX.ImpactObjectBase ImpactCFX.IImpactObject

Public Member Functions

override RigidbodyData GetRigidbodyData ()
 Gets the rigidbody velocity data for this object.
 
- Public Member Functions inherited from ImpactCFX.ImpactObjectSingleMaterial
override void RegisterMaterials ()
 Tells this object to register its material(s) with the Impact CFX Manager.
 
override RigidbodyData GetRigidbodyData ()
 Gets the rigidbody velocity data for this object.
 
- Public Member Functions inherited from ImpactCFX.ImpactObjectBase
virtual int GetID ()
 Gets a unique identifier for this object.
 
abstract RigidbodyData GetRigidbodyData ()
 Gets the rigidbody velocity data for this object.
 
abstract void RegisterMaterials ()
 Tells this object to register its material(s) with the Impact CFX Manager.
 
virtual int GetPriority ()
 Gets the priority for this object.
 
virtual Vector3 GetContactPointRelativePosition (Vector3 point)
 Gets the local position of the contact point relative to this object's transform.
 
GameObject GetGameObject ()
 Gets the game object assoicated with this object.
 
override string ToString ()
 
int GetID ()
 Gets a unique identifier for this object.
 
int GetPriority ()
 Gets the priority for this object.
 
RigidbodyData GetRigidbodyData ()
 Gets the rigidbody data for this object.
 
GameObject GetGameObject ()
 Gets the game object assoicated with this object.
 
Vector3 GetContactPointRelativePosition (Vector3 point)
 Gets the local position of a contact point relative to the object's transform.
 

Properties

float VelocityScale [get, set]
 A scalar value for the velocity.
 
- Properties inherited from ImpactCFX.ImpactObjectSingleMaterial
ImpactMaterialAuthoring Material [get, set]
 The Impact Material associated with this object.
 

Detailed Description

Implementation of an Impact Object that calculates a velocity using the position and rotation of the object.

Member Function Documentation

◆ GetRigidbodyData()

override RigidbodyData ImpactCFX.ImpactObjectCustomVelocity.GetRigidbodyData ( )
virtual

Gets the rigidbody velocity data for this object.

Implements ImpactCFX.ImpactObjectBase.