15 m_animPosition = 0.0f;
27 p_transform[3][0] = -630.0f;
28 p_transform[3][1] = -4.688f;
29 p_transform[3][2] = 323.0f;
31 m_animPosition = p_und;
66 *p_outCurAnimPosition = m_animPosition;
[AI] Represents a bounding sphere in 3D space with center and radius.
const float & Radius() const
[AI] Const accessor for the sphere radius.
Implements the LEGO Island car race game mode.
void SetSkeleton(RaceSkel *p_skeleton)
Sets the current RaceSkel instance for this car race.
void ParseAction(char *p_extra) override
[AI] Handles extra action strings, looks for animation assignments and delegates to presenters (overr...
vector< LegoAnimActorStruct * > m_animMaps
[AI] List of animation structures, each representing a valid animation for different speed/phase rang...
virtual MxResult FUN_1001c360(float p_und, Matrix4 &p_transform)
[AI] Applies the animation transform for the current animation at the given phase,...
MxS16 m_curAnim
[AI] Index of currently selected animation map (-1 if none active). [AI]
LegoROI * m_roi
[AI] Pointer to this entity's currently assigned ROI (3D instance in the world). [AI]
void SetBoundingSphere(const BoundingSphere &p_sphere)
[AI] Sets the local and world bounding spheres.
BoundingSphere & GetBoundingSphere()
[AI] Accesses the local bounding sphere object.
4x4 Matrix class with virtual interface for manipulation and transformation.
[AI] Specialized skeleton animation actor for LEGO Island car racing sequences.
virtual void FUN_10071c80(Vector3 &p_vec)
[AI] Assigns the skeleton's position in 3D space for the car race sequence.
MxResult FUN_1001c360(float p_und, Matrix4 &p_transform) override
[AI] Apply race-specific position/orientation adjustment and updates animation position.
~RaceSkel() override
[AI] Destructor for RaceSkel, cleans up resources.
void GetCurrentAnimData(float *p_outCurAnimPosition, float *p_outCurAnimDuration)
[AI] Retrieves the current animation position and its duration.
void ParseAction(char *p_extra) override
[AI] Parses a string command to setup the skeleton for the car race, and modifies ROI bounding sphere...
[AI] 3D vector class, providing vector and cross-product operations in 3D space.
#define DECOMP_SIZE_ASSERT(T, S)
LegoWorld * CurrentWorld()
[AI] Accessor for the currently active LegoWorld instance. [AI]