Blender V2.61 - r43446
|
#include <btRaycastVehicle.h>
Public Member Functions | |
btDefaultVehicleRaycaster (btDynamicsWorld *world) | |
virtual void * | castRay (const btVector3 &from, const btVector3 &to, btVehicleRaycasterResult &result) |
Definition at line 221 of file btRaycastVehicle.h.
btDefaultVehicleRaycaster::btDefaultVehicleRaycaster | ( | btDynamicsWorld * | world | ) | [inline] |
Definition at line 225 of file btRaycastVehicle.h.
void * btDefaultVehicleRaycaster::castRay | ( | const btVector3 & | from, |
const btVector3 & | to, | ||
btVehicleRaycasterResult & | result | ||
) | [virtual] |
Implements btVehicleRaycaster.
Definition at line 748 of file btRaycastVehicle.cpp.
References btCollisionWorld::RayResultCallback::hasHit(), btCollisionWorld::RayResultCallback::m_closestHitFraction, btCollisionWorld::RayResultCallback::m_collisionObject, btVehicleRaycaster::btVehicleRaycasterResult::m_distFraction, btVehicleRaycaster::btVehicleRaycasterResult::m_hitNormalInWorld, btCollisionWorld::ClosestRayResultCallback::m_hitNormalWorld, btVehicleRaycaster::btVehicleRaycasterResult::m_hitPointInWorld, btCollisionWorld::ClosestRayResultCallback::m_hitPointWorld, btCollisionWorld::rayTest(), and btRigidBody::upcast().