handle associated with a physics actor. 更多...
#include <ImmediatePhysicsActorHandle_Chaos.h>
Public 成员函数 | |
| float | GetAngularDamping () const |
| Get the angular damping | |
| FVector | GetAngularVelocity () const |
| Get the angular velocity | |
| FVector | GetInverseInertia () const |
| Get the inverse inertia. 更多... | |
| float | GetInverseMass () const |
| Get the inverse mass. | |
| bool | GetIsKinematic () const |
| Is the actor kinematic | |
| const FKinematicTarget & | GetKinematicTarget () const |
| Gets the kinematic target (next transform) for the actor if one is set (check HasKinematicTarget() to see if a target is available) | |
| float | GetLinearDamping () const |
| Get the linear damping | |
| FVector | GetLinearVelocity () const |
| Get the linear velocity | |
| FTransform | GetLocalCoMTransform () const |
| Get the actor-space centre of mass offset | |
| float | GetMaxAngularVelocitySquared () const |
| Get the max angular velocity squared | |
| float | GetMaxContactImpulse () const |
| Get the max contact impulse | |
| float | GetMaxDepenetrationVelocity (float NewMaxDepenetrationVelocity) const |
| Get the max depenetration velocity | |
| float | GetMaxLinearVelocitySquared () const |
| Get the max linear velocity squared | |
| FTransform | GetWorldTransform () const |
| Get the world transform | |
| bool | HasKinematicTarget () const |
| Does this actor have a kinematic target (next kinematic transform to be applied) | |
| void | InitWorldTransform (const FTransform &WorldTM) |
| Sets the world transform, zeroes velocity, etc. | |
| bool | IsSimulated () const |
| Whether the body is simulating | |
| bool | IsStatic () const |
| Whether the body is static | |
| void | SetAngularDamping (float NewAngularDamping) |
| Set the angular damping | |
| void | SetAngularVelocity (const FVector &NewAngularVelocity) |
| Set the angular velocity | |
| void | SetInverseInertia (const FVector &NewInverseInertia) |
| Set the inverse inertia. 更多... | |
| void | SetInverseMass (float NewInverseMass) |
| Set the inverse mass. 更多... | |
| void | SetIsKinematic (bool bKinematic) |
| Make a body kinematic, or non-kinematic | |
| void | SetKinematicTarget (const FTransform &WorldTM) |
| Sets the kinematic target. 更多... | |
| void | SetLinearDamping (float NewLinearDamping) |
| Set the linear damping | |
| void | SetLinearVelocity (const FVector &NewLinearVelocity) |
| Set the linear velocity | |
| void | SetMaxAngularVelocitySquared (float NewMaxAngularVelocitySquared) |
| Set the max angular velocity squared | |
| void | SetMaxContactImpulse (float NewMaxContactImpulse) |
| Set the max contact impulse | |
| void | SetMaxDepenetrationVelocity (float NewMaxDepenetrationVelocity) |
| Set the max depenetration velocity | |
| void | SetMaxLinearVelocitySquared (float NewMaxLinearVelocitySquared) |
| Set the max linear velocity squared | |
| void | SetWorldTransform (const FTransform &WorldTM) |
| Sets the world transform, maintains velocity etc. | |
handle associated with a physics actor.
This is the proper way to read/write to the physics simulation
| FVector ImmediatePhysics_Chaos::FActorHandle::GetInverseInertia | ( | ) | const |
Get the inverse inertia.
Mass-space inverse inertia diagonal vector
| void ImmediatePhysics_Chaos::FActorHandle::SetInverseInertia | ( | const FVector & | NewInverseInertia | ) |
Set the inverse inertia.
Mass-space inverse inertia diagonal vector
| void ImmediatePhysics_Chaos::FActorHandle::SetInverseMass | ( | float | NewInverseMass | ) |
Set the inverse mass.
0 indicates kinematic object
| void ImmediatePhysics_Chaos::FActorHandle::SetKinematicTarget | ( | const FTransform & | WorldTM | ) |
Sets the kinematic target.
This will affect velocities as expected