Definition at line 16 of file ObjectCollidable.hh.
Inherits Field::ObjectBase.
Inherited by Field::ObjectBasabasa, Field::ObjectBasabasaDummy, Field::ObjectBird, Field::ObjectBirdLeader, Field::ObjectBoble, Field::ObjectBreakable, Field::ObjectCarA, Field::ObjectCarTGE, Field::ObjectChoropu, Field::ObjectChoropuGround, Field::ObjectChoropuHoll, Field::ObjectCow, Field::ObjectCowHerd, Field::ObjectCrab, Field::ObjectDokan, Field::ObjectDossun, Field::ObjectDossunTsuibiHolder, Field::ObjectDossunc, Field::ObjectEscalatorGroup, Field::ObjectFireRing, Field::ObjectFireSnakeKid, Field::ObjectFireball, Field::ObjectFirebar, Field::ObjectFlamePole, Field::ObjectFlamePoleV, Field::ObjectHeyho, Field::ObjectHighwayManager, Field::ObjectItemboxLine, Field::ObjectItemboxPress, Field::ObjectKoopaBall, Field::ObjectKoopaFigure64, Field::ObjectKuribo, Field::ObjectOilSFC, Field::ObjectPakkunF, Field::ObjectParasolR, Field::ObjectPenguin, Field::ObjectPillarC, Field::ObjectPoihanaBase, Field::ObjectPress, Field::ObjectProjectile, Field::ObjectProjectileLauncher, Field::ObjectPsea, Field::ObjectPylon, Field::ObjectRock, Field::ObjectSanbo, Field::ObjectShip64, Field::ObjectSniper, Field::ObjectTruckWagon, Field::ObjectTruckWagonCart, Field::ObjectVolcanoBall, Field::ObjectVolcanoBallLauncher, and Field::ObjectWoodboxW.
|
| | ObjectCollidable (const System::MapdataGeoObj ¶ms) |
| |
| | ObjectCollidable (const char *name, const EGG::Vector3f &pos, const EGG::Vector3f &rot, const EGG::Vector3f &scale) |
| |
| void | load () override |
| |
| void | calcCollisionTransform () override |
| |
| f32 | getCollisionRadius () const override |
| | Finds the radius that fits fully in a BoxColUnit.
|
| |
| virtual void | loadAABB (f32 maxSpeed) |
| |
| virtual void | loadAABB (f32 radius, f32 maxSpeed) |
| |
| virtual void | processKartReactions (Kart::KartObject *kartObj, Kart::Reaction &reactionOnKart, Kart::Reaction &reactionOnObj) |
| |
| virtual Kart::Reaction | onCollision (Kart::KartObject *, Kart::Reaction reactionOnKart, Kart::Reaction, EGG::Vector3f &) |
| |
| virtual void | onWallCollision (Kart::KartObject *, const EGG::Vector3f &) |
| |
| virtual void | onObjectCollision (Kart::KartObject *) |
| |
| virtual bool | checkCollision (ObjectCollisionBase *lhs, EGG::Vector3f &dist) |
| |
| virtual const EGG::Vector3f & | getCollisionTranslation () const |
| |
| virtual ObjectCollisionBase * | collision () const |
| |
| | ObjectBase (const System::MapdataGeoObj ¶ms) |
| |
| | ObjectBase (const char *name, const EGG::Vector3f &pos, const EGG::Vector3f &rot, const EGG::Vector3f &scale) |
| |
| virtual void | init () |
| |
| virtual void | calc () |
| |
| virtual void | calcModel () |
| |
| virtual const char * | getResources () const |
| |
| virtual void | loadGraphics () |
| |
| virtual void | loadAnims () |
| |
| virtual void | loadRail () |
| |
| virtual const char * | getName () const |
| |
| virtual u32 | loadFlags () const |
| |
| virtual const char * | getKclName () const |
| |
| virtual void | resize (f32 radius, f32 maxSpeed) |
| |
| virtual void | unregisterCollision () |
| |
| virtual void | disableCollision () const |
| |
| virtual void | enableCollision () const |
| |
| virtual const BoxColUnit * | getUnit () const |
| |
| const RailInterpolator * | railInterpolator () const |
| |
| virtual const EGG::Vector3f & | getPosition () const |
| |
| virtual ObjectId | id () const |
| |
| const EGG::Vector3f & | pos () const |
| |
| void | setPos (const EGG::Vector3f &pos) |
| |
| void | setScale (const EGG::Vector3f &scale) |
| |
| void | setTransform (const EGG::Matrix34f &mat) |
| |
| const EGG::Vector3f & | scale () const |
| |
|
| enum class | eFlags {
Position = 0
,
Rotation = 1
,
Matrix = 2
,
Scale = 3
} |
| |
| typedef EGG::TBitFlag< u16, eFlags > | Flags |
| |
| static f32 | CheckPointAgainstLineSegment (const EGG::Vector3f &point, const EGG::Vector3f &a, const EGG::Vector3f &b) |
| | Calculates on what side of line segment ab point lies.
|
| |
| static EGG::Vector3f | RotateXZByYaw (f32 angle, const EGG::Vector3f &v) |
| | Rotates a vector around the Y-axis and returns the XZ-plane portion of the vector.
|
| |
| static EGG::Vector3f | RotateAxisAngle (f32 angle, const EGG::Vector3f &axis, const EGG::Vector3f &v1) |
| |
| static void | SetRotTangentHorizontal (EGG::Matrix34f &mat, const EGG::Vector3f &up, const EGG::Vector3f &tangent) |
| |
| static EGG::Matrix34f | OrthonormalBasis (const EGG::Vector3f &v) |
| |
| static EGG::Matrix34f | RailOrthonormalBasis (const RailInterpolator &railInterpolator) |
| |
| static EGG::Vector3f | AdjustVecForward (f32 sidewaysScalar, f32 forwardScalar, f32 minSpeed, const EGG::Vector3f &src, EGG::Vector3f forward) |
| |
| static f32 | CalcParabolicDisplacement (f32 initVel, f32 accel, u32 frame) |
| | Solves the standard kinematic equation \(y(t) = v_0\, t - \frac{1}{2} a t^{2}\).
|
| |
| static EGG::Vector3f | Interpolate (f32 t, const EGG::Vector3f &v0, const EGG::Vector3f &v1) |
| |
◆ ObjectCollidable() [1/2]
◆ ObjectCollidable() [2/2]
◆ ~ObjectCollidable()
| Field::ObjectCollidable::~ObjectCollidable |
( |
| ) |
|
|
override0x8067E384 |
◆ calcCollisionTransform()
| void Field::ObjectCollidable::calcCollisionTransform |
( |
| ) |
|
|
overridevirtual0x8081F7C8 |
◆ checkCollision()
◆ collision()
|
|
inlinenodiscardvirtual0x80573518 |
◆ collisionCenter()
| virtual const EGG::Vector3f & Field::ObjectCollidable::collisionCenter |
( |
| ) |
const |
|
inlinenodiscardprotectedvirtual0x806816B8 |
◆ createCollision()
| void Field::ObjectCollidable::createCollision |
( |
| ) |
|
|
overrideprotectedvirtual0x8081F224 |
◆ getCollisionRadius()
| f32 Field::ObjectCollidable::getCollisionRadius |
( |
| ) |
const |
|
nodiscardoverridevirtual0x806815A0 |
◆ getCollisionTranslation()
| virtual const EGG::Vector3f & Field::ObjectCollidable::getCollisionTranslation |
( |
| ) |
const |
|
inlinevirtual0x8068173C |
◆ load()
| void Field::ObjectCollidable::load |
( |
| ) |
|
|
overridevirtual0x8081F0A0 |
◆ loadAABB() [1/2]
| void Field::ObjectCollidable::loadAABB |
( |
f32 | maxSpeed | ) |
|
|
virtual0x806816D8 |
◆ loadAABB() [2/2]
| void Field::ObjectCollidable::loadAABB |
( |
f32 | radius, |
|
|
f32 | maxSpeed ) |
|
virtual0x8081F180 |
◆ onCollision()
| virtual Kart::Reaction Field::ObjectCollidable::onCollision |
( |
Kart::KartObject * | , |
|
|
Kart::Reaction | reactionOnKart, |
|
|
Kart::Reaction | , |
|
|
EGG::Vector3f & | ) |
|
inlinevirtual0x8068179C |
◆ onObjectCollision()
◆ onWallCollision()
◆ processKartReactions()
| void Field::ObjectCollidable::processKartReactions |
( |
Kart::KartObject * | kartObj, |
|
|
Kart::Reaction & | reactionOnKart, |
|
|
Kart::Reaction & | reactionOnObj ) |
|
virtual0x8081F66C |
◆ registerManagedObject()
| void Field::ObjectCollidable::registerManagedObject |
( |
| ) |
|
|
protected0x8081F170 |
◆ m_collision