int animTarget;
// frameCurrent and frameTarget are used to interpolate between the frames of an animation
- // (e.g. the crouched animation has only two frames, lerped back and forth).
+ // (e.g. the crouched animation has only two frames, lerped back and forth slowly).
// animations advance at various speeds.
int frameCurrent;
int frameTarget;
+ // convenience
+ Joint& joint(int);
+ XYZ& jointPos(int);
+ XYZ& jointVel(int);
+
void CheckKick();
void CatchFire();
void DoBlood(float howmuch, int which);
void Puff(int whichlabel);
void FootLand(int which, float opacity);
void DoStuff();
- Joint& getJointFor(int);
void setAnimation(int);
void DoAnimations();
void RagDoll(bool checkcollision);