|
| btKartRaycaster (btDynamicsWorld *world, bool smooth_normals=false) |
|
virtual void * | castRay (const btVector3 &from, const btVector3 &to, btVehicleRaycasterResult &result) |
|
|
btDynamicsWorld * | m_dynamicsWorld |
|
bool | m_smooth_normals |
| True if the normals should be smoothed.
|
|
◆ castRay()
void * btKartRaycaster::castRay |
( |
const btVector3 & |
from, |
|
|
const btVector3 & |
to, |
|
|
btVehicleRaycasterResult & |
result |
|
) |
| |
|
virtual |
Constructor, initialises the triangle index.
Stores the index of the triangle hit.
Returns the index of the triangle which was hit, or -1 if no triangle was hit.
◆ m_smooth_normals
bool btKartRaycaster::m_smooth_normals |
|
private |
True if the normals should be smoothed.
Not all tracks support this, so this flag is set depending on track when constructing this object.
The documentation for this class was generated from the following files: