Deformation Model/Development

From Burnout Wiki

Structures

BrnPhysics::Deformation::ModelData

2007-02-22

Version 9 has no TagList structures. It instead uses a TagPoint array which is directly pointed to.

Offset Length Type Name Description Comments
0x0 0x4 uint32_t muVersion Unknown version number
0x4 0x4 uint32_t muSizeInBytes
0x8 0x1 uint8_t muNumBodyParts
0x9 0x1 uint8_t muNumBodies
0xA 0x1 uint8_t muNumJoints
0xB 0x1 uint8_t muNumJointDynamics
0xC 0x1 uint8_t muNumDriveLinearDynamics
0xD 0x1 uint8_t muNumDriveAngularDynamics
0xE 0x1 uint8_t muNumBoxVolumes
0xF 0x1 uint8_t muNumCapsuleVolumes
0x10 0x1 uint8_t muNumSphereVolumes
0x11 0x1 uint8_t muNumCylinderVolumes
0x12 0x1 uint8_t muNumWheels
0x13 0x1 uint8_t muNumWheelBodies
0x14 0x18 BodySpec*[6] mapWheelBodies
0x2C 0x4 Padding
0x30 0x40 Matrix44Affine mCarModelSpaceToHandlingBodySpaceTransform
0x70 0x1 bool mbHasHandlingBody
0x71 0x3 Padding
0x74 0x4 BodySpec* mpHandlingBody
0x78 0x4 JointSpec* mpHandlingJoint
0x7C 0x4 BodyGroupSpec* mpBodyParts
0x80 0x4 BodySpec* mpBodies
0x84 0x4 BoxVolumeSpec* mpBoxVolumes
0x88 0x4 CapsuleVolumeSpec* mpCapsuleVolumes
0x8C 0x4 SphereVolumeSpec* mpSphereVolumes
0x90 0x4 CylinderVolumeSpec* mpCylinderVolumes
0x94 0x4 JointDynamicsSpec* mpJointDynamics
0x98 0x4 DriveLinearDynamicsSpec* mpDriveLinearDynamics
0x9C 0x4 DriveAngularDynamicsSpec* mpDriveAngularDynamics
0xA0 0x4 JointSpec* mpJoints
0xA4 0x4 Vector3* mpWheelPositions
0xA8 0x4 Vector3* mpWheelScales
0xAC 0x4 uint32_t muNumTagPoints
0xB0 0x4 TagPoint mpaTagPoints

BrnPhysics::Deformation::ModelData::TagPoint

Offset Length Type Name Description Comments
0x0 0x40 Matrix44Affine mTagPointMatrix
0x40 0x4 ETagPointType meTagPointType
0x44 0xC Padding