13 class hkpMaxSizeMotion;
70 return massInv != 0.0f ? 1.0f / massInv : 0.0f;
91 static_assert(
sizeof(
hkpMotion) == 0x140);
Definition: hkBaseTypes.h:16
Definition: hkMatrix3.h:8
Definition: hkMotionState.h:11
Definition: hkQuaternion.h:8
Definition: hkReferencedObject.h:11
Definition: hkVector4.h:9
hkQuadReal quad
Definition: hkVector4.h:53
Definition: hkpKeyframedRigidMotion.h:47
Definition: hkpMotion.h:16
std::uint8_t deactivationIntegrateCounter
Definition: hkpMotion.h:75
virtual void GetInertiaInvWorld(hkMatrix3 &a_inertiaInvOut) const =0
hkpMaxSizeMotion * savedMotion
Definition: hkpMotion.h:85
virtual void GetInertiaLocal(hkMatrix3 &a_inertiaOut) const =0
std::uint64_t pad138
Definition: hkpMotion.h:89
virtual void ApplyAngularImpulse(const hkVector4 &a_impulse)=0
virtual void SetAngularVelocity(const hkVector4 &a_newVel)
virtual void SetInertiaInvLocal(const hkMatrix3 &a_inertiaInv)=0
hkVector4 angularVelocity
Definition: hkpMotion.h:82
virtual void ApplyLinearImpulse(const hkVector4 &a_impulse)
virtual void SetPosition(const hkVector4 &a_position)
virtual void SetRotation(const hkQuaternion &a_rotation)
std::uint16_t pad016
Definition: hkpMotion.h:77
std::uint16_t deactivationNumInactiveFrames[2]
Definition: hkpMotion.h:76
virtual void GetMotionStateAndVelocitiesAndDeactivationType(hkpMotion *a_motionOut)
std::uint64_t pad018
Definition: hkpMotion.h:78
virtual void SetCenterOfMassInLocal(const hkVector4 &a_centerOfMass)
virtual void GetInertiaWorld(hkMatrix3 &a_inertiaOut) const =0
virtual void SetMassInv(float a_massInv)
virtual void GetProjectedPointVelocity(const hkVector4 &a_point, const hkVector4 &a_normal, float &a_velOut, float &a_invVirtMassOut) const =0
virtual void SetPositionAndRotation(const hkVector4 &a_position, const hkQuaternion &a_rotation)
@ kNumInactiveFramesToDeactivate
Definition: hkpMotion.h:23
virtual void SetTransform(const hkTransform &a_transform)
static constexpr auto RTTI
Definition: hkpMotion.h:18
virtual void ApplyPointImpulse(const hkVector4 &a_impulse, const hkVector4 &a_point)=0
virtual void ApplyTorque(const float a_deltaTime, const hkVector4 &a_torque)=0
virtual void ApplyForce(const float a_deltaTime, const hkVector4 &a_force)=0
virtual void ApplyForce(const float a_deltaTime, const hkVector4 &a_force, const hkVector4 &a_point)=0
hkVector4 inertiaAndMassInv
Definition: hkpMotion.h:80
virtual void SetMass(float a_mass)
hkMotionState motionState
Definition: hkpMotion.h:79
hkVector4 deactivationRefPosition[2]
Definition: hkpMotion.h:83
float GetMass() const
Definition: hkpMotion.h:67
std::uint16_t savedQualityTypeIndex
Definition: hkpMotion.h:86
MotionType
Definition: hkpMotion.h:27
virtual void GetInertiaInvLocal(hkMatrix3 &a_inertiaInvOut) const =0
hkHalf gravityFactor
Definition: hkpMotion.h:88
std::uint32_t deactivationRefOrientation[2]
Definition: hkpMotion.h:84
REX::EnumSet< MotionType, std::uint8_t > type
Definition: hkpMotion.h:74
static constexpr auto VTABLE
Definition: hkpMotion.h:19
hkVector4 linearVelocity
Definition: hkpMotion.h:81
virtual void SetLinearVelocity(const hkVector4 &a_newVel)
virtual void SetInertiaLocal(const hkMatrix3 &a_inertia)=0
std::uint16_t pad132
Definition: hkpMotion.h:87
Definition: AbsorbEffect.h:6
constexpr std::array< REL::ID, 1 > VTABLE_hkpMotion
Definition: Offsets_VTABLE.h:14283
constexpr REL::ID RTTI_hkpMotion(static_cast< std::uint64_t >(689848))