DCDecomp
A decompilation of Dark Cloud for the PlayStation 2
Loading...
Searching...
No Matches
MOTION_STATE Struct Reference

#include <gameutil.hpp>

Public Attributes

float time
 
float blend
 
float blend_step
 
unsigned int frame
 
unsigned int next_frame
 
s32 motion_no
 
s32 playing_no
 
s32 blending
 
CCamera * camera
 
s32 look_at
 
CFrameVu1 * look_frame
 
CFrameVu1 * look_target
 
sceVu0FVECTOR look_position
 
_FRAMECONSTRAINT look_constraint
 
u8 unk_44 [0xC]
 

Detailed Description

Records how far one model has played through the motion it holds.

Definition at line 187 of file gameutil.hpp.

Member Data Documentation

◆ time

float MOTION_STATE::time

Frame that the motion stands on.

Definition at line 188 of file gameutil.hpp.

◆ blend

float MOTION_STATE::blend

How far the pose has blended toward the next frame or motion; 1 is all the way.

Definition at line 189 of file gameutil.hpp.

◆ blend_step

float MOTION_STATE::blend_step

Amount the blend advances each step while changing motion.

Definition at line 190 of file gameutil.hpp.

◆ frame

unsigned int MOTION_STATE::frame

Whole frame that the model is posed from.

Definition at line 191 of file gameutil.hpp.

◆ next_frame

unsigned int MOTION_STATE::next_frame

Frame that the pose interpolates toward.

Definition at line 192 of file gameutil.hpp.

◆ motion_no

s32 MOTION_STATE::motion_no

Motion that the character asks for.

Definition at line 193 of file gameutil.hpp.

◆ playing_no

s32 MOTION_STATE::playing_no

Motion that plays now.

Definition at line 194 of file gameutil.hpp.

◆ blending

s32 MOTION_STATE::blending

Set while the model blends into a newly requested motion.

Definition at line 195 of file gameutil.hpp.

◆ camera

CCamera* MOTION_STATE::camera

Camera that the motion moves; zero where it moves none.

Definition at line 196 of file gameutil.hpp.

◆ look_at

s32 MOTION_STATE::look_at

Set when a frame of the model turns to look at a target.

Definition at line 197 of file gameutil.hpp.

◆ look_frame

CFrameVu1* MOTION_STATE::look_frame

Frame that turns to look.

Definition at line 198 of file gameutil.hpp.

◆ look_target

CFrameVu1* MOTION_STATE::look_target

Frame looked at, or NULL to look at look_position.

Definition at line 199 of file gameutil.hpp.

◆ look_position

sceVu0FVECTOR MOTION_STATE::look_position

Point looked at when there is no target frame.

Definition at line 200 of file gameutil.hpp.

◆ look_constraint

_FRAMECONSTRAINT MOTION_STATE::look_constraint

Axes the looking frame may turn about.

Definition at line 201 of file gameutil.hpp.

◆ unk_44

u8 MOTION_STATE::unk_44[0xC]

Definition at line 202 of file gameutil.hpp.