Home
last modified time | relevance | path

Searched refs:restLength (Results 1 – 9 of 9) sorted by relevance

/external/jmonkeyengine/engine/src/jbullet/com/jme3/bullet/objects/
DVehicleWheel.java62 protected float restLength = 1f; field in VehicleWheel
74 float restLength, float radius, boolean frontWheel) { in VehicleWheel() argument
75 this(location, direction, axle, restLength, radius, frontWheel); in VehicleWheel()
80 float restLength, float radius, boolean frontWheel) { in VehicleWheel() argument
85 this.restLength = restLength; in VehicleWheel()
261 wheelInfo.suspensionRestLength1 = restLength; in applyInfo()
274 return restLength; in getRestLength()
277 public void setRestLength(float restLength) { in setRestLength() argument
278 this.restLength = restLength; in setRestLength()
359 restLength = capsule.readFloat("restLength", 1f); in read()
[all …]
DPhysicsVehicle.java503 float restLength = physicsVehicleWheel.getRestLength(); in getDebugShape() local
509 Arrow dirArrow = new Arrow(direction.normalizeLocal().multLocal(restLength)); in getDebugShape()
/external/jmonkeyengine/engine/src/bullet/com/jme3/bullet/objects/
DVehicleWheel.java62 protected float restLength = 1f; field in VehicleWheel
74 float restLength, float radius, boolean frontWheel) { in VehicleWheel() argument
75 this(location, direction, axle, restLength, radius, frontWheel); in VehicleWheel()
80 float restLength, float radius, boolean frontWheel) { in VehicleWheel() argument
85 this.restLength = restLength; in VehicleWheel()
257 …ionSlip, rollInfluence, maxSuspensionTravelCm, maxSuspensionForce, radius, frontWheel, restLength); in applyInfo()
282 return restLength; in getRestLength()
285 public void setRestLength(float restLength) { in setRestLength() argument
286 this.restLength = restLength; in setRestLength()
379 restLength = capsule.readFloat("restLength", 1f); in read()
[all …]
DPhysicsVehicle.java149 … objectId, Vector3f location, Vector3f direction, Vector3f axle, float restLength, float radius, V… in addWheel() argument
520 float restLength = physicsVehicleWheel.getRestLength(); in getDebugShape() local
526 Arrow dirArrow = new Arrow(direction.normalizeLocal().multLocal(restLength)); in getDebugShape()
/external/jmonkeyengine/engine/src/test/jme3test/bullet/
DTestPhysicsCar.java127 float restLength = 0.3f; in buildPlayer() local
140 wheelDirection, wheelAxle, restLength, radius, true); in buildPlayer()
148 wheelDirection, wheelAxle, restLength, radius, true); in buildPlayer()
156 wheelDirection, wheelAxle, restLength, radius, false); in buildPlayer()
164 wheelDirection, wheelAxle, restLength, radius, false); in buildPlayer()
DTestAttachDriver.java155 float restLength = 0.3f; in buildPlayer() local
168 wheelDirection, wheelAxle, restLength, radius, true); in buildPlayer()
176 wheelDirection, wheelAxle, restLength, radius, true); in buildPlayer()
184 wheelDirection, wheelAxle, restLength, radius, false); in buildPlayer()
192 wheelDirection, wheelAxle, restLength, radius, false); in buildPlayer()
/external/jmonkeyengine/engine/src/bullet-native/
Dcom_jme3_bullet_objects_VehicleWheel.cpp82 …ensionTravelCm, jfloat maxSuspensionForce, jfloat radius, jboolean frontWheel, jfloat restLength) { in Java_com_jme3_bullet_objects_VehicleWheel_applyInfo() argument
93 vehicle->getWheelInfo(wheelIndex).m_suspensionRestLength1 = restLength; in Java_com_jme3_bullet_objects_VehicleWheel_applyInfo()
Dcom_jme3_bullet_objects_PhysicsVehicle.cpp130 …g vehicleId, jobject location, jobject direction, jobject axle, jfloat restLength, jfloat radius, … in Java_com_jme3_bullet_objects_PhysicsVehicle_addWheel() argument
144 … btWheelInfo* info = &vehicle->addWheel(vec1, vec2, vec3, restLength, radius, tune, frontWheel); in Java_com_jme3_bullet_objects_PhysicsVehicle_addWheel()
/external/jmonkeyengine/engine/src/bullet-common/com/jme3/bullet/control/
DVehicleControl.java203 float restLength = physicsVehicleWheel.getRestLength(); in render() local
218 dirArrow.setArrowExtent(direction.normalizeLocal().multLocal(restLength)); in render()