3#include "game/kart/CollisionGroup.hh"
4#include "game/kart/KartObjectProxy.hh"
5#include "game/kart/KartParam.hh"
7#include <egg/math/Matrix.hh>
28 void setSuspTravel(f32 suspTravel) {
29 m_suspTravel = suspTravel;
62 [[nodiscard]] f32 suspTravel() {
83 return m_wheelEdgePos;
86 [[nodiscard]] f32 effectiveRadius()
const {
87 return m_effectiveRadius;
90 [[nodiscard]] f32 _74()
const {
107 f32 m_effectiveRadius;
108 f32 m_targetEffectiveRadius;
129 void setInitialState();
141 f32 m_maxTravelScaled;
Houses hitbox and collision info for an object (body or wheel).
Base class for most kart-related objects.
Physics for a single wheel's suspension.
TireType
Every other kart tire is a mirror of the first. Bikes do not leverage this.
void calcSuspension(const EGG::Vector3f &forward, const EGG::Vector3f &vehicleMovement)
Calculates linear force and rotation from the kart's suspension.
Manages wheel physics and collision checks.
Pertains to kart-related functionality.
Info pertaining to the suspension, position, etc. of a wheel.