GUInity
|
#include <MeshCollider.hpp>
Public Member Functions | |
MeshCollider () | |
virtual | ~MeshCollider () |
virtual void | init () |
virtual void | tick (float deltaSeconds) override |
virtual shared_ptr< Component > | clone () override |
virtual shared_ptr< ComponentDescription > | getComponentDescription () override |
virtual void | deserialize (shared_ptr< ComponentDescription > desc) override |
![]() | |
Collider () | |
virtual | ~Collider () |
void | setTrigger (bool isTrigger) |
bool | getIsTrigger () |
void | setQueryOnly (bool isQueryOnly) |
bool | getQueryOnly () |
virtual void | destroy () override |
virtual void | awake () override |
virtual void | setActive (bool isActive) override |
void | setPhysicsMaterial (const shared_ptr< PhysicsMaterial > physMaterial) |
shared_ptr< PhysicsMaterial > | getPhysicsMaterial () |
![]() | |
Component () | |
virtual | ~Component () |
shared_ptr< Actor > | getActor () |
void | setActor (weak_ptr< Actor > actor) |
Additional Inherited Members | |
![]() | |
void | setCopyMode (bool initWithData) |
![]() | |
PxVec3 | center |
PxShape * | shape |
shared_ptr< PhysicsMaterial > | physicsMaterial |
bool | isTrigger |
bool | isQueryOnly |
![]() | |
bool | initWithData |
bool | isActive |
BoxCollider uses a Mesh as the volume collider. Can either be real physics simulated or trigger only.
MeshCollider::MeshCollider | ( | ) |
Default Constructor
|
virtual |
Default Destructor. Virtual because inherits from Collider
|
overridevirtual |
Clones current component (Prototype Design Pattern)
Implements Collider.
|
virtual |
|
overridevirtual |