32 void set_fc(f32 val) {
38 m_instantaneousStuntRot *= rot;
43 m_instantaneousExtraRot *= rot;
47 void composeDecayingStuntRot(
const EGG::Quatf &rot) {
48 m_decayingStuntRot *= rot;
52 void composeDecayingExtraRot(
const EGG::Quatf &rot) {
58 m_movingObjVel += (vel - m_movingObjVel) * t;
59 dynamics()->setMovingObjVel(m_movingObjVel);
63 void composeDecayingMovingObjVel(f32 floorScalar, f32 airScalar,
bool floor) {
64 m_movingObjVel *= floor ? floorScalar : airScalar;
65 dynamics()->setMovingObjVel(m_movingObjVel);
70 m_movingRoadVel += (vel - m_movingRoadVel) * t;
71 dynamics()->setMovingRoadVel(m_movingRoadVel);
74 void shiftDecayMovingRoadVel(
const EGG::Vector3f &v, f32 maxPullSpeed);
77 void decayMovingRoadVel(f32 floorScalar, f32 airScalar,
bool floor) {
78 m_movingRoadVel *= floor ? floorScalar : airScalar;
79 m_movingRoadVel.y = 0.0f;
80 dynamics()->setMovingRoadVel(m_movingRoadVel);
84 void clearDecayingRot() {
85 m_decayingStuntRot = EGG::Quatf::ident;
104 return m_hitboxGroup;
123 [[nodiscard]] f32 fc()
const {