3#include "game/kart/KartObjectProxy.hh"
4#include "game/kart/KartParam.hh"
19 void startShrink(s32 unk);
20 void endShrink(s32 unk);
31 enum class CrushState {
45 bool m_scaleAnmActive;
47 std::array<f32, 4> m_scaleTarget;
53 static constexpr f32 CRUSH_SCALE = 0.3f;
55 static constexpr std::array<f32, 4> s_baseScaleStart = {{
62 static constexpr std::array<f32, 4> s_baseScaleTarget = {{
Base class for most kart-related objects.
Mainly responsible for calculating scaling for the squish/unsquish animation.
bool m_calcCrush
Set while crush scaling is occurring.
CrushState m_crushState
Specifies the current crush/uncrush state.
f32 m_uncrushAnmFrame
Current frame of the unsquish animation.
Pertains to kart-related functionality.
Various character/vehicle-related handling and speed stats.