3D Damped spring interface.
Public Member Functions | |
| virtual void | SetKd (tF32 afD)=0 |
| Set the Kd constant. {Property}. More... | |
| virtual tF32 | GetKd () const =0 |
| Get the Kd constant. {Property}. More... | |
| virtual void | SetKs (tF32 afD)=0 |
| Set the Ks constant. {Property}. More... | |
| virtual tF32 | GetKs () const =0 |
| Get the Ks constant. {Property}. More... | |
| virtual void | SetStiffnessAndDampingRatio (tF32 afKs, tF32 afE)=0 |
| Set the value of Kd for the specified Ks that will result in a spring with the specified damping ratio. More... | |
| virtual void | SetDampingRatio (tF32 afE)=0 |
| Set the spring's damping ratio. {Property}. More... | |
| virtual tF32 | GetDampingRatio () const =0 |
| Get the spring's damping ratio. {Property}. More... | |
| virtual void | SetVelocity (const sVec3f &avVel)=0 |
| Set the spring's velocity. {Property}. More... | |
| virtual sVec3f | GetVelocity () const =0 |
| Get the spring's velocity. {Property}. More... | |
| virtual sVec3f | ComputeAcceleration (const sVec3f &avD)=0 |
| Compute the spring's acceleration for the specified displacement. More... | |
| virtual void | UpdateVelocity (ni::tF32 afDeltaTime, const sVec3f &avD)=0 |
| Update the spring's velocity from the specified displacement. More... | |
| virtual void | UpdateVelocityWithAcceleration (ni::tF32 afDeltaTime, const sVec3f &avAcc)=0 |
| Update the spring's velocity from the specified acceleration. More... | |
Public Member Functions inherited from iUnknown | |
| virtual tBool | IsOK () const =0 |
| Check if the object is valid. More... | |
| virtual tI32 | AddRef ()=0 |
| Signal that one more reference of the object has been created. More... | |
| virtual tI32 | Release ()=0 |
| Release a reference of the object. More... | |
| virtual void | DeleteThis ()=0 |
| Bypass any reference counting and delete this object. More... | |
| virtual void | Invalidate ()=0 |
| Invalidate the object. More... | |
| virtual iUnknown * | QueryInterface (const tUUID &aIID)=0 |
| Query an interface. More... | |
| virtual void | ListInterfaces (iMutableCollection *apLst, tU32 anFlags) const =0 |
| Fill a UUID list containing the UUIDs of the implemented interfaces. More... | |
| virtual tI32 | SetNumRefs (tI32 anNumRefs)=0 |
| Set the reference counter directly. More... | |
| virtual tI32 | GetNumRefs () const =0 |
| Get the number of references to this object. More... | |
|
pure virtual |
Get the Kd constant. {Property}.
|
pure virtual |
Get the Ks constant. {Property}.
Set the value of Kd for the specified Ks that will result in a spring with the specified damping ratio.
Set the spring's damping ratio. {Property}.
|
pure virtual |
Get the spring's damping ratio. {Property}.
Set the spring's velocity. {Property}.
|
pure virtual |
Get the spring's velocity. {Property}.
Compute the spring's acceleration for the specified displacement.
Update the spring's velocity from the specified displacement.
1.8.7