30 INLINE BulletWheelRaycastInfo::
31 ~BulletWheelRaycastInfo() {
44 btWheelInfoConstructionInfo ci;
55 INLINE
bool BulletWheelRaycastInfo::
56 is_in_contact()
const {
58 return _info.m_isInContact;
66 INLINE PN_stdfloat BulletWheelRaycastInfo::
67 get_suspension_length()
const {
69 return _info.m_suspensionLength;
77 INLINE
LPoint3 BulletWheelRaycastInfo::
78 get_contact_point_ws()
const {
80 return btVector3_to_LPoint3(_info.m_contactPointWS);
88 INLINE
LPoint3 BulletWheelRaycastInfo::
89 get_hard_point_ws()
const {
91 return btVector3_to_LPoint3(_info.m_hardPointWS);
99 INLINE
LVector3 BulletWheelRaycastInfo::
100 get_contact_normal_ws()
const {
102 return btVector3_to_LVector3(_info.m_contactNormalWS);
110 INLINE
LVector3 BulletWheelRaycastInfo::
111 get_wheel_direction_ws()
const {
113 return btVector3_to_LVector3(_info.m_wheelDirectionWS);
121 INLINE
LVector3 BulletWheelRaycastInfo::
122 get_wheel_axle_ws()
const {
124 return btVector3_to_LVector3(_info.m_wheelAxleWS);
132 INLINE
PandaNode *BulletWheelRaycastInfo::
133 get_ground_object()
const {
135 return _info.m_groundObject ? (
PandaNode *)_info.m_groundObject : NULL;
A basic node of the scene graph or data graph.
This is a three-component vector distance (as opposed to a three-component point, which represents a ...
This is a three-component point in space (as opposed to a three-component vector, which represents a ...
static BulletWheel empty()
Named constructor intended to be used for asserts with have to return a concrete value.
One wheel of a BulletVehicle.