104 [[nodiscard]]
const BSP &
bsp()
const;
154 [[nodiscard]]
bool isBike()
const;
158 [[nodiscard]] std::pair<EGG::Vector3f, EGG::Vector3f>
getCannonPosRot();
172 [[nodiscard]]
static std::list<KartObjectProxy *, EGG::Allocator<KartObjectProxy *>> &
180 void apply(
size_t idx);
187 static std::list<KartObjectProxy *, EGG::Allocator<KartObjectProxy *>>
Relates a KartObject with its convex hull representation.
Houses hitbox and collision info for an object (body or wheel).
Manages body+wheel collision and its influence on position/velocity/etc.
State management for most components of a kart's physics.
Handles the physics and boosts associated with zippers.
Manages trick inputs and state.
Responsible for reacting to player inputs and moving the kart.
CollisionData & collisionData()
Field::KCLTypeMask wallKclType() const
const EGG::Vector3f & extVel() const
const EGG::Vector3f & prevPos() const
EGG::Vector3f bodyForward() const
Returns the first column of the rotation matrix, which is the "right" direction.
const EGG::Vector3f & componentZAxis() const
KartDynamics * dynamics()
Field::ObjectCollisionKart * objectCollisionKart()
KartHalfPipe * halfPipe()
const EGG::Vector3f & angVel2() const
bool hasFloorCollision(const WheelPhysics *wheelPhysics) const
void setInertiaScale(const EGG::Vector3f &scale)
const EGG::Vector3f & pos() const
const EGG::Quatf & fullRot() const
Render::KartModel * model()
std::pair< EGG::Vector3f, EGG::Vector3f > getCannonPosRot()
WheelPhysics * tirePhysics(u16 tireIdx)
static void ApplyAll(const KartAccessor *pointers)
For all proxies in the static list, synchronizes all pointers to the KartAccessor.
f32 softSpeedLimit() const
Field::BoxColUnit * boxColUnit()
EGG::Vector3f bodyUp() const
Returns the second column of the rotation matrix, which is the "up" direction.
const System::KPad * inputs() const
const EGG::Vector3f & scale() const
const EGG::Vector3f & componentYAxis() const
static std::list< KartObjectProxy *, EGG::Allocator< KartObjectProxy * > > & proxyList()
KartParam::Stats::DriftType vehicleType() const
u32 wallKclVariant() const
void setPos(const EGG::Vector3f &pos)
const EGG::Vector3f & intVel() const
static std::list< KartObjectProxy *, EGG::Allocator< KartObjectProxy * > > s_proxyList
List of all KartObjectProxy children.
f32 speedRatioCapped() const
const EGG::Vector3f & wheelEdgePos(u16 idx) const
KartSuspension * suspension(u16 suspIdx)
const KartAccessor * m_accessor
EGG::Vector3f bodyFront() const
Returns the third column of the rotation matrix, which is the facing vector.
const EGG::Quatf & mainRot() const
const EGG::Vector3f & velocity() const
const EGG::Matrix34f & pose() const
const EGG::Vector3f & wheelPos(u16 idx) const
KartTire * tire(u16 tireIdx)
void setRot(const EGG::Quatf &q)
KartSuspensionPhysics * suspensionPhysics(u16 suspIdx)
const EGG::Vector3f & componentXAxis() const
CollisionGroup * collisionGroup()
Houses stats regarding a given character/vehicle combo.
Manages the lifecycle of KartDynamics, handles moving floors and trick rotation.
Mainly responsible for calculating scaling for the squish/unsquish animation.
Houses various flags and other variables to preserve the kart's state.
Hosts a few classes and the high level per-frame calc functions.
Physics for a single wheel's suspension.
Doesn't do much besides hold a pointer to KartSuspensionPhysics.
A holder for a wheel's physics data.
Manages wheel physics and collision checks.
Included in Kinoko because it mysteriously sets an angle member variable in KartBody.
Dynamically sized array that only allocates once.
Pertains to kart-related functionality.
EGG::TBitFlagExt< static_cast< size_t >(eStatus::FlagMax), eStatus > Status
Pertains to rendering the kart model.
A quaternion, used to represent 3D rotation.
A representation of the boundaries of an entity that has dynamic collision.
Houses hitbox and wheel positions, radii, and suspension info.
Information about the current collision and its properties.
Shared between classes who inherit KartObjectProxy so they can access one another.
fixed_vector< KartSuspension * > suspensions
Render::KartModel * model
Field::BoxColUnit * boxColUnit
Field::ObjectCollisionKart * objectCollisionKart
fixed_vector< KartTire * > tires
DriftType
The type of drift (inside/outside).