#include <collisionmodel.h>
◆ CollisionModel()
tram::Physics::CollisionModel::CollisionModel |
( |
name_t |
mName | ) |
|
|
inline |
◆ Find()
Finds a model.
Will either return a pointer to a model that already exists with that name, or will create a new one.
- Returns
- Always will return a pointer to a CollisionModel.
◆ GetShape()
◆ LoadFromDisk()
void tram::Physics::CollisionModel::LoadFromDisk |
( |
| ) |
|
|
virtual |
Loads the collision model from disk.
If the collision model file can't be found, the model will be replaced with a 25cm wide cube.
Implements tram::Resource.
◆ LoadFromMemory()
void tram::Physics::CollisionModel::LoadFromMemory |
( |
| ) |
|
|
inlinevirtual |
◆ Unload()
void tram::Physics::CollisionModel::Unload |
( |
| ) |
|
|
inlinevirtual |
◆ shape
The documentation for this class was generated from the following files: