#include <KartSuspensionPhysics.hh>
Manages wheel physics and collision checks.
Definition at line 13 of file KartSuspensionPhysics.hh.
Public Member Functions | |
WheelPhysics (u16 wheelIdx, u16 bspWheelIdx) | |
void | init () |
void | initBsp () |
void | reset () |
void | realign (const EGG::Vector3f &bottom, const EGG::Vector3f &vehicleMovement) |
void | updateCollision (const EGG::Vector3f &bottom, const EGG::Vector3f &topmostPos) |
Setters | |
void | setSuspTravel (f32 suspTravel) |
void | setPos (const EGG::Vector3f &pos) |
void | setLastPos (const EGG::Vector3f &pos) |
void | setLastPosDiff (const EGG::Vector3f &pos) |
void | setWheelEdgePos (const EGG::Vector3f &pos) |
void | setColVel (const EGG::Vector3f &vec) |
Getters | |
const EGG::Vector3f & | pos () const |
const EGG::Vector3f & | lastPosDiff () const |
f32 | suspTravel () |
const EGG::Vector3f & | topmostPos () const |
CollisionGroup * | hitboxGroup () |
const CollisionGroup * | hitboxGroup () const |
const EGG::Vector3f & | speed () const |
f32 | effectiveRadius () const |
f32 | _74 () const |
Definition at line 15 of file KartSuspensionPhysics.cc.
|
0x8059A9C4 |
Definition at line 19 of file KartSuspensionPhysics.cc.
|
inlinenodiscard |
Definition at line 85 of file KartSuspensionPhysics.hh.
|
inlinenodiscard |
Definition at line 81 of file KartSuspensionPhysics.hh.
|
inlinenodiscard |
Definition at line 69 of file KartSuspensionPhysics.hh.
|
inlinenodiscard |
Definition at line 73 of file KartSuspensionPhysics.hh.
|
0x80599470 |
Definition at line 24 of file KartSuspensionPhysics.cc.
|
0x805994D4 |
Definition at line 30 of file KartSuspensionPhysics.cc.
|
inlinenodiscard |
Definition at line 57 of file KartSuspensionPhysics.hh.
|
inlinenodiscard |
Definition at line 53 of file KartSuspensionPhysics.hh.
|
0x80599AD0 |
Definition at line 55 of file KartSuspensionPhysics.cc.
|
0x80599508 |
Definition at line 35 of file KartSuspensionPhysics.cc.
|
inline |
Definition at line 47 of file KartSuspensionPhysics.hh.
|
inline |
Definition at line 35 of file KartSuspensionPhysics.hh.
|
inline |
Definition at line 39 of file KartSuspensionPhysics.hh.
|
inline |
Definition at line 31 of file KartSuspensionPhysics.hh.
|
inline |
Definition at line 27 of file KartSuspensionPhysics.hh.
|
inline |
Definition at line 43 of file KartSuspensionPhysics.hh.
|
inlinenodiscard |
Definition at line 77 of file KartSuspensionPhysics.hh.
|
inlinenodiscard |
Definition at line 61 of file KartSuspensionPhysics.hh.
|
inlinenodiscard |
Definition at line 65 of file KartSuspensionPhysics.hh.
|
0x80599690 |
Definition at line 72 of file KartSuspensionPhysics.cc.
|
private |
Definition at line 104 of file KartSuspensionPhysics.hh.
|
private |
Definition at line 93 of file KartSuspensionPhysics.hh.
|
private |
Definition at line 92 of file KartSuspensionPhysics.hh.
|
private |
Definition at line 99 of file KartSuspensionPhysics.hh.
|
private |
Definition at line 102 of file KartSuspensionPhysics.hh.
|
private |
Definition at line 94 of file KartSuspensionPhysics.hh.
|
private |
Definition at line 96 of file KartSuspensionPhysics.hh.
|
private |
Definition at line 97 of file KartSuspensionPhysics.hh.
|
private |
Definition at line 95 of file KartSuspensionPhysics.hh.
|
private |
Definition at line 100 of file KartSuspensionPhysics.hh.
|
private |
Definition at line 98 of file KartSuspensionPhysics.hh.
|
private |
Definition at line 103 of file KartSuspensionPhysics.hh.
|
private |
Definition at line 105 of file KartSuspensionPhysics.hh.
|
private |
Definition at line 101 of file KartSuspensionPhysics.hh.
|
private |
Definition at line 91 of file KartSuspensionPhysics.hh.