Home
last modified time | relevance | path

Searched refs:m_raycastInfo (Results 1 – 5 of 5) sorted by relevance

/external/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletDynamics/Vehicle/
DbtRaycastVehicle.cpp108 btVector3 up = -wheel.m_raycastInfo.m_wheelDirectionWS; in updateWheelTransform()
109 const btVector3& right = wheel.m_raycastInfo.m_wheelAxleWS; in updateWheelTransform()
132 …wheel.m_raycastInfo.m_hardPointWS + wheel.m_raycastInfo.m_wheelDirectionWS * wheel.m_raycastInfo.m… in updateWheelTransform()
143 wheel.m_raycastInfo.m_suspensionLength = wheel.getSuspensionRestLength(); in resetSuspension()
146 wheel.m_raycastInfo.m_contactNormalWS = - wheel.m_raycastInfo.m_wheelDirectionWS; in resetSuspension()
154 wheel.m_raycastInfo.m_isInContact = false; in updateWheelTransformsWS()
162 wheel.m_raycastInfo.m_hardPointWS = chassisTrans( wheel.m_chassisConnectionPointCS ); in updateWheelTransformsWS()
163 wheel.m_raycastInfo.m_wheelDirectionWS = chassisTrans.getBasis() * wheel.m_wheelDirectionCS ; in updateWheelTransformsWS()
164 wheel.m_raycastInfo.m_wheelAxleWS = chassisTrans.getBasis() * wheel.m_wheelAxleCS; in updateWheelTransformsWS()
176 btVector3 rayvector = wheel.m_raycastInfo.m_wheelDirectionWS * (raylen); in rayCast()
[all …]
DbtWheelInfo.cpp27 if (m_raycastInfo.m_isInContact) in updateWheel()
30 btScalar project= m_raycastInfo.m_contactNormalWS.dot( m_raycastInfo.m_wheelDirectionWS ); in updateWheel()
32 btVector3 relpos = m_raycastInfo.m_contactPointWS - chassis.getCenterOfMassPosition(); in updateWheel()
34 btScalar projVel = m_raycastInfo.m_contactNormalWS.dot( chassis_velocity_at_contactPoint ); in updateWheel()
51 m_raycastInfo.m_suspensionLength = this->getSuspensionRestLength(); in updateWheel()
53 m_raycastInfo.m_contactNormalWS = -m_raycastInfo.m_wheelDirectionWS; in updateWheel()
DbtWheelInfo.h53 RaycastInfo m_raycastInfo; member
/external/jmonkeyengine/engine/src/bullet-native/
Dcom_jme3_bullet_objects_VehicleWheel.cpp110 …jmeBulletUtil::convert(env, &vehicle->getWheelInfo(wheelIndex).m_raycastInfo.m_contactPointWS, out… in Java_com_jme3_bullet_objects_VehicleWheel_getCollisionLocation()
126 …jmeBulletUtil::convert(env, &vehicle->getWheelInfo(wheelIndex).m_raycastInfo.m_contactNormalWS, ou… in Java_com_jme3_bullet_objects_VehicleWheel_getCollisionNormal()
/external/libgdx/extensions/gdx-bullet/jni/swig-src/dynamics/
Ddynamics_wrap.cpp29875 if (arg1) (arg1)->m_raycastInfo = *arg2; in Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfo_1raycastInfo_1set()
29888 result = (btWheelInfo::RaycastInfo *)& ((arg1)->m_raycastInfo); in Java_com_badlogic_gdx_physics_bullet_dynamics_DynamicsJNI_btWheelInfo_1raycastInfo_1get()