HomeSort by relevance Sort by last modified time
    Searched defs:mass (Results 1 - 5 of 5) sorted by null

  /external/jmonkeyengine/engine/src/test/jme3test/bullet/
TestFancyCar.java 158 final float mass = 400; local
170 player = new VehicleControl(carHull, mass);
  /external/jmonkeyengine/engine/src/bullet/com/jme3/bullet/objects/
PhysicsRigidBody.java 65 protected float mass = 1.0f; field in class:PhysicsRigidBody
82 public PhysicsRigidBody(CollisionShape shape, float mass) {
84 this.mass = mass;
93 if (collisionShape instanceof MeshCollisionShape && mass != 0) {
105 objectId = createRigidBody(mass, motionState.getObjectId(), collisionShape.getObjectId());
116 private native long createRigidBody(float mass, long motionStateId, long collisionShapeId);
119 if (mass == 0.0f) {
309 return mass;
313 * Sets the mass of this PhysicsRigidBody, objects with mass=0 are static
733 float mass = capsule.readFloat("mass", 1.0f); local
    [all...]
  /packages/experimental/DreamTheater/src/com/android/dreamtheater/
BouncyDroid.java 203 final float mass = 100; local
204 mBody = new World.Body(mass, new World.Vec(200,200));
227 mBody.applyForce(new World.Vec(0, mass * World.GRAVITY));
  /external/jmonkeyengine/engine/src/jbullet/com/jme3/bullet/objects/
PhysicsRigidBody.java 70 protected float mass = 1.0f; field in class:PhysicsRigidBody
92 public PhysicsRigidBody(CollisionShape shape, float mass) {
94 this.mass = mass;
103 if(collisionShape instanceof MeshCollisionShape && mass != 0){
122 collisionShape.calculateLocalInertia(mass, localInertia);
124 constructionInfo = new RigidBodyConstructionInfo(mass, motionState, collisionShape.getCShape(), localInertia);
126 constructionInfo.mass = mass;
134 if (mass == 0.0f)
684 float mass = capsule.readFloat("mass", 1.0f); local
    [all...]
  /frameworks/native/opengl/tests/gl2_cameraeye/src/com/android/gl2cameraeye/
GL2CameraEye.java 351 float mass = 10.f; local
358 totalForce[0] = -mPos[0] * springStrength - mVel[0]*frictionCoeff + gMultiplier*mGForce[0]*mass;
359 totalForce[1] = -mPos[1] * springStrength - mVel[1]*frictionCoeff + gMultiplier*mGForce[1]*mass;
360 totalForce[2] = -mPos[2] * springStrength - mVel[2]*frictionCoeff + gMultiplier*mGForce[2]*mass;
363 accel[0] = totalForce[0]/mass;
364 accel[1] = totalForce[1]/mass;
365 accel[2] = totalForce[2]/mass;

Completed in 7213 milliseconds