A reimplementation of Mario Kart Wii's physics engine in C++
Loading...
Searching...
No Matches
Field::ObjectOilSFC Class Referencefinal

Description

Definition at line 7 of file ObjectOilSFC.hh.

Inheritance diagram for Field::ObjectOilSFC:

Public Member Functions

 ObjectOilSFC (const System::MapdataGeoObj &params)
 
Kart::Reaction onCollision (Kart::KartObject *kartObj, Kart::Reaction reactionOnKart, Kart::Reaction reactionOnObj, EGG::Vector3f &hitDepth) override
 
- Public Member Functions inherited from Field::ObjectCollidable
 ObjectCollidable (const System::MapdataGeoObj &params)
 
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 void onWallCollision (Kart::KartObject *, const EGG::Vector3f &)
 
virtual void onObjectCollision (Kart::KartObject *)
 
virtual bool checkCollision (ObjectCollisionBase *lhs, EGG::Vector3f &dist)
 
virtual const EGG::Vector3fgetCollisionTranslation () const
 
virtual ObjectCollisionBasecollision () const
 
- Public Member Functions inherited from Field::ObjectBase
 ObjectBase (const System::MapdataGeoObj &params)
 
virtual void init ()
 
virtual void calc ()
 
virtual void calcModel ()
 
virtual void loadRail ()
 
virtual u32 loadFlags () const
 
virtual const char * getKclName () const
 
virtual const EGG::Vector3fgetPosition () const
 
ObjectId id () const
 

Additional Inherited Members

- Protected Member Functions inherited from Field::ObjectCollidable
void createCollision () override
 
virtual const EGG::Vector3fcollisionCenter () const
 
- Protected Member Functions inherited from Field::ObjectBase
void calcTransform ()
 
- Protected Attributes inherited from Field::ObjectCollidable
ObjectCollisionBasem_collision
 
- Protected Attributes inherited from Field::ObjectBase
ObjectId m_id
 
RailInterpolatorm_railInterpolator
 
BoxColUnitm_boxColUnit
 
u16 m_flags
 
EGG::Vector3f m_pos
 
EGG::Vector3f m_rot
 
EGG::Vector3f m_scale
 
EGG::Matrix34f m_transform
 
const System::MapdataGeoObjm_mapObj
 

Constructor & Destructor Documentation

◆ ObjectOilSFC()

Field::ObjectOilSFC::ObjectOilSFC ( const System::MapdataGeoObj & params)
0x806DD934

Definition at line 10 of file ObjectOilSFC.cc.

Member Function Documentation

◆ onCollision()

Kart::Reaction Field::ObjectOilSFC::onCollision ( Kart::KartObject * kartObj,
Kart::Reaction reactionOnKart,
Kart::Reaction reactionOnObj,
EGG::Vector3f & hitDepth )
overridevirtual

Reimplemented from Field::ObjectCollidable.

Definition at line 15 of file ObjectOilSFC.cc.