Collision attachment for Actors.
Constructors
Modifier | Name | Description |
---|
| CPhysics() | |
Destructors
Modifier | Name | Description |
---|
virtual | ~CPhysics() | |
Override Functions
Access | Modifier | Type | Name | Description |
---|
public | virtual | void | onTick(float inDeltaTime) | |
Functions
Access | Modifier | Type | Name | Description |
---|
public | | bool | canCollide() const | |
public | | void | addForce(const Vec<3, float>& inDirection, float inForce) | |
protected | | void | updateCollision() | |
protected | | void | reseteCollision(Actor* inSubject) | |
protected | | void | updateForce() | |
protected | | void | resetForce() | |
Properties
Access | Modifier | Type | Name | Description |
---|
protected | | bool | m_bIsApplyingForce | |
protected | | Vec<3, float> | m_forceDirection | |
protected | | Vec<3, float> | m_forceVelocity | |