Home
last modified time | relevance | path

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

/external/jmonkeyengine/engine/src/bullet-native/
Dcom_jme3_bullet_objects_VehicleWheel.cpp50 (JNIEnv *env, jobject object, jlong vehicleId, jint wheelIndex, jobject out) { in Java_com_jme3_bullet_objects_VehicleWheel_getWheelLocation() argument
57 … jmeBulletUtil::convert(env, &vehicle->getWheelInfo(wheelIndex).m_worldTransform.getOrigin(), out); in Java_com_jme3_bullet_objects_VehicleWheel_getWheelLocation()
66 (JNIEnv *env, jobject object, jlong vehicleId, jint wheelIndex, jobject out) { in Java_com_jme3_bullet_objects_VehicleWheel_getWheelRotation() argument
73 … jmeBulletUtil::convert(env, &vehicle->getWheelInfo(wheelIndex).m_worldTransform.getBasis(), out); in Java_com_jme3_bullet_objects_VehicleWheel_getWheelRotation()
82 …(JNIEnv *env, jobject object, jlong vehicleId, jint wheelIndex, jfloat suspensionStiffness, jfloat… in Java_com_jme3_bullet_objects_VehicleWheel_applyInfo() argument
84 vehicle->getWheelInfo(wheelIndex).m_suspensionStiffness = suspensionStiffness; in Java_com_jme3_bullet_objects_VehicleWheel_applyInfo()
85 vehicle->getWheelInfo(wheelIndex).m_wheelsDampingRelaxation = wheelsDampingRelaxation; in Java_com_jme3_bullet_objects_VehicleWheel_applyInfo()
86 vehicle->getWheelInfo(wheelIndex).m_wheelsDampingCompression = wheelsDampingCompression; in Java_com_jme3_bullet_objects_VehicleWheel_applyInfo()
87 vehicle->getWheelInfo(wheelIndex).m_frictionSlip = frictionSlip; in Java_com_jme3_bullet_objects_VehicleWheel_applyInfo()
88 vehicle->getWheelInfo(wheelIndex).m_rollInfluence = rollInfluence; in Java_com_jme3_bullet_objects_VehicleWheel_applyInfo()
[all …]
/external/jmonkeyengine/engine/src/bullet/com/jme3/bullet/objects/
DVehicleWheel.java49 protected int wheelIndex = 0; field in VehicleWheel
90 getWheelLocation(wheelId, wheelIndex, wheelWorldLocation); in updatePhysicsState()
91 getWheelRotation(wheelId, wheelIndex, tmp_Matrix); in updatePhysicsState()
125 public void setVehicleId(long vehicleId, int wheelIndex) { in setVehicleId() argument
127 this.wheelIndex = wheelIndex; in setVehicleId()
257 …applyInfo(wheelId, wheelIndex, suspensionStiffness, wheelsDampingRelaxation, wheelsDampingCompress… in applyInfo()
260 private native void applyInfo(long wheelId, int wheelIndex, in applyInfo() argument
309 getCollisionLocation(wheelId, wheelIndex, vec); in getCollisionLocation()
313 private native void getCollisionLocation(long wheelId, int wheelIndex, Vector3f vec); in getCollisionLocation() argument
320 getCollisionLocation(wheelId, wheelIndex, vec); in getCollisionLocation()
[all …]
/external/libgdx/extensions/gdx-bullet/jni/swig-src/dynamics/com/badlogic/gdx/physics/bullet/dynamics/
DbtRaycastVehicle.java191 public Matrix4 getWheelTransformWS(int wheelIndex) { in getWheelTransformWS() argument
192 return DynamicsJNI.btRaycastVehicle_getWheelTransformWS(swigCPtr, this, wheelIndex); in getWheelTransformWS()
195 public void updateWheelTransform(int wheelIndex, boolean interpolatedTransform) { in updateWheelTransform() argument
196 …DynamicsJNI.btRaycastVehicle_updateWheelTransform__SWIG_0(swigCPtr, this, wheelIndex, interpolated… in updateWheelTransform()
199 public void updateWheelTransform(int wheelIndex) { in updateWheelTransform() argument
200 DynamicsJNI.btRaycastVehicle_updateWheelTransform__SWIG_1(swigCPtr, this, wheelIndex); in updateWheelTransform()
232 public void setBrake(float brake, int wheelIndex) { in setBrake() argument
233 DynamicsJNI.btRaycastVehicle_setBrake(swigCPtr, this, brake, wheelIndex); in setBrake()
/external/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletDynamics/Vehicle/
DbtRaycastVehicle.h111 const btTransform& getWheelTransformWS( int wheelIndex ) const;
113 void updateWheelTransform( int wheelIndex, bool interpolatedTransform = true );
133 void setBrake(btScalar brake,int wheelIndex);
DbtRaycastVehicle.cpp95 const btTransform& btRaycastVehicle::getWheelTransformWS( int wheelIndex ) const in getWheelTransformWS()
97 btAssert(wheelIndex < getNumWheels()); in getWheelTransformWS()
98 const btWheelInfo& wheel = m_wheelInfo[wheelIndex]; in getWheelTransformWS()
103 void btRaycastVehicle::updateWheelTransform( int wheelIndex , bool interpolatedTransform) in updateWheelTransform() argument
106 btWheelInfo& wheel = m_wheelInfo[ wheelIndex ]; in updateWheelTransform()
405 void btRaycastVehicle::setBrake(btScalar brake,int wheelIndex) in setBrake() argument
407 btAssert((wheelIndex >= 0) && (wheelIndex < getNumWheels())); in setBrake()
408 getWheelInfo(wheelIndex).m_brake = brake; in setBrake()