#[repr(C)]pub struct hkbCharacter {Show 23 fields
pub __base: hkReferencedObject,
pub nearbyCharacters: hkArray<*mut hkbCharacter>,
pub currentLOD: i16,
pub numTracksInLOD: i16,
pub pad24: u32,
pub name: hkStringPtr,
pub ragdollDriver: hkRefPtr<hkbRagdollDriver>,
pub characterControllerDriver: hkRefVariant,
pub footIkDriver: hkRefVariant,
pub handIkDriver: hkRefVariant,
pub setup: hkRefPtr<hkbCharacterSetup>,
pub behaviorGraph: hkRefPtr<hkbBehaviorGraph>,
pub projectData: hkRefPtr<hkbProjectData>,
pub animationBindingSet: hkRefVariant,
pub raycastInterface: hkRefVariant,
pub world: hkRefVariant,
pub eventQueue: hkRefVariant,
pub worldFromModel: hkRefVariant,
pub poseLocal: *const *const (),
pub numPoseLocal: i32,
pub deleteWorldFromModel: bool,
pub deletePoseLocal: bool,
pub pad9E: u16,
}Expand description
Represents a character in the Havok behavior system.
Inherits from hkReferencedObject and contains data for character setup, behavior, and physics.
Fields§
§__base: hkReferencedObjectBase class hkReferencedObject.
nearbyCharacters: hkArray<*mut hkbCharacter>Array of pointers to nearby characters.
- Offset: 0x10
currentLOD: i16Current level of detail.
- Offset: 0x20
numTracksInLOD: i16Number of tracks in the current LOD.
- Offset: 0x22
pad24: u32Padding for alignment.
- Offset: 0x24
name: hkStringPtrCharacter name.
- Offset: 0x28
ragdollDriver: hkRefPtr<hkbRagdollDriver>Reference to the ragdoll driver.
- Offset: 0x30
characterControllerDriver: hkRefVariantCharacter controller driver.
- Offset: 0x38
footIkDriver: hkRefVariantFoot inverse kinematics driver.
- Offset: 0x40
handIkDriver: hkRefVariantHand inverse kinematics driver.
- Offset: 0x48
setup: hkRefPtr<hkbCharacterSetup>Character setup reference.
- Offset: 0x50
behaviorGraph: hkRefPtr<hkbBehaviorGraph>Behavior graph reference.
- Offset: 0x58
projectData: hkRefPtr<hkbProjectData>Project data reference.
- Offset: 0x60
animationBindingSet: hkRefVariantAnimation binding set.
- Offset: 0x68
raycastInterface: hkRefVariantRaycast interface.
- Offset: 0x70
world: hkRefVariantWorld reference.
- Offset: 0x78
eventQueue: hkRefVariantEvent queue.
- Offset: 0x80
worldFromModel: hkRefVariantWorld-from-model transform.
- Offset: 0x88
poseLocal: *const *const ()Pointer to pose local data (hkSimpleArray
- Offset: 0x90
numPoseLocal: i32Number of pose local entries.
- Offset: 0x98
deleteWorldFromModel: boolFlag indicating whether to delete worldFromModel.
- Offset: 0x9C
deletePoseLocal: boolFlag indicating whether to delete poseLocal.
- Offset: 0x9D
pad9E: u16Padding for alignment.
- Offset: 0x9E