#[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: hkReferencedObject
Base class hkReferencedObject
.
nearbyCharacters: hkArray<*mut hkbCharacter>
Array of pointers to nearby characters.
- Offset: 0x10
currentLOD: i16
Current level of detail.
- Offset: 0x20
numTracksInLOD: i16
Number of tracks in the current LOD.
- Offset: 0x22
pad24: u32
Padding for alignment.
- Offset: 0x24
name: hkStringPtr
Character name.
- Offset: 0x28
ragdollDriver: hkRefPtr<hkbRagdollDriver>
Reference to the ragdoll driver.
- Offset: 0x30
characterControllerDriver: hkRefVariant
Character controller driver.
- Offset: 0x38
footIkDriver: hkRefVariant
Foot inverse kinematics driver.
- Offset: 0x40
handIkDriver: hkRefVariant
Hand 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: hkRefVariant
Animation binding set.
- Offset: 0x68
raycastInterface: hkRefVariant
Raycast interface.
- Offset: 0x70
world: hkRefVariant
World reference.
- Offset: 0x78
eventQueue: hkRefVariant
Event queue.
- Offset: 0x80
worldFromModel: hkRefVariant
World-from-model transform.
- Offset: 0x88
poseLocal: *const *const ()
Pointer to pose local data (hkSimpleArray
- Offset: 0x90
numPoseLocal: i32
Number of pose local entries.
- Offset: 0x98
deleteWorldFromModel: bool
Flag indicating whether to delete worldFromModel.
- Offset: 0x9C
deletePoseLocal: bool
Flag indicating whether to delete poseLocal.
- Offset: 0x9D
pad9E: u16
Padding for alignment.
- Offset: 0x9E