#include <KartParam.hh>
Houses hitbox and wheel positions, radii, and suspension info.
Definition at line 8 of file KartParam.hh.
Classes | |
struct | Hitbox |
Represents one of the many hitboxes that make up a vehicle. More... | |
struct | Wheel |
Info pertaining to the suspension, position, etc. of a wheel. More... | |
Public Member Functions | |
STATIC_ASSERT (sizeof(Hitbox)==0x18) | |
STATIC_ASSERT (sizeof(Wheel)==0x2c) | |
BSP (EGG::RamStream &stream) | |
void | read (EGG::RamStream &stream) |
Public Attributes | |
f32 | initialYPos |
std::array< Hitbox, 16 > | hitboxes |
Array of vehicle hitboxes, not all of which are active. | |
EGG::Vector3f | cuboids [2] |
Mask cuboids for computing moment of inertia. | |
f32 | angVel0Factor |
f32 | _1a0 |
std::array< Wheel, 4 > | wheels |
f32 | rumbleHeight |
Max vertical distance of the vehicle body's rumble animation. | |
u16 | rumbleSpeed |
Speed of the vehicle body's rumble animation. | |
Kart::BSP::BSP | ( | EGG::RamStream & | stream | ) |
Definition at line 152 of file KartParam.cc.
void Kart::BSP::read | ( | EGG::RamStream & | stream | ) |
Definition at line 156 of file KartParam.cc.
f32 Kart::BSP::_1a0 |
Definition at line 42 of file KartParam.hh.
f32 Kart::BSP::angVel0Factor |
Definition at line 41 of file KartParam.hh.
EGG::Vector3f Kart::BSP::cuboids[2] |
Mask cuboids for computing moment of inertia.
Definition at line 40 of file KartParam.hh.
std::array<Hitbox, 16> Kart::BSP::hitboxes |
Array of vehicle hitboxes, not all of which are active.
Definition at line 39 of file KartParam.hh.
f32 Kart::BSP::initialYPos |
Definition at line 38 of file KartParam.hh.
f32 Kart::BSP::rumbleHeight |
Max vertical distance of the vehicle body's rumble animation.
Definition at line 44 of file KartParam.hh.
u16 Kart::BSP::rumbleSpeed |
Speed of the vehicle body's rumble animation.
Definition at line 45 of file KartParam.hh.
std::array<Wheel, 4> Kart::BSP::wheels |
Definition at line 43 of file KartParam.hh.