13 class hkpMaxSizeMotion;
94 static_assert(
sizeof(
hkpMotion) == 0x140);
Definition hkBaseTypes.h:16
Definition hkMotionState.h:11
Definition hkQuaternion.h:8
Definition hkReferencedObject.h:11
hkQuadReal quad
Definition hkVector4.h:53
Definition hkpKeyframedRigidMotion.h:47
Definition hkpMotion.h:16
std::uint8_t deactivationIntegrateCounter
Definition hkpMotion.h:78
@ kNumInactiveFramesToDeactivate
Definition hkpMotion.h:23
stl::enumeration< MotionType, std::uint8_t > type
Definition hkpMotion.h:77
virtual void GetInertiaInvWorld(hkMatrix3 &a_inertiaInvOut) const =0
hkpMaxSizeMotion * savedMotion
Definition hkpMotion.h:88
virtual void GetInertiaLocal(hkMatrix3 &a_inertiaOut) const =0
std::uint64_t pad138
Definition hkpMotion.h:92
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:85
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:80
std::uint16_t deactivationNumInactiveFrames[2]
Definition hkpMotion.h:79
virtual void GetMotionStateAndVelocitiesAndDeactivationType(hkpMotion *a_motionOut)
std::uint64_t pad018
Definition hkpMotion.h:81
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)
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:83
virtual void SetMass(float a_mass)
hkMotionState motionState
Definition hkpMotion.h:82
hkVector4 deactivationRefPosition[2]
Definition hkpMotion.h:86
std::uint16_t savedQualityTypeIndex
Definition hkpMotion.h:89
float GetMass()
Definition hkpMotion.h:67
MotionType
Definition hkpMotion.h:27
virtual void GetInertiaInvLocal(hkMatrix3 &a_inertiaInvOut) const =0
hkHalf gravityFactor
Definition hkpMotion.h:91
std::uint32_t deactivationRefOrientation[2]
Definition hkpMotion.h:87
static constexpr auto VTABLE
Definition hkpMotion.h:19
hkVector4 linearVelocity
Definition hkpMotion.h:84
virtual void SetLinearVelocity(const hkVector4 &a_newVel)
virtual void SetInertiaLocal(const hkMatrix3 &a_inertia)=0
std::uint16_t pad132
Definition hkpMotion.h:90
Definition AbsorbEffect.h:6
constexpr REL::VariantID RTTI_hkpMotion(689848, 397703, 0x1f59398)
constexpr std::array< REL::VariantID, 1 > VTABLE_hkpMotion
Definition Offsets_VTABLE.h:4997