Package com.bulletphysics.dynamics

Examples of com.bulletphysics.dynamics.RigidBody.activate()


      // rBody.setCollisionFlags(CollisionFlags.NO_CONTACT_RESPONSE);
      rBody.clearForces();
      rBody.setAngularVelocity(new Vector3f(0, 0, 0));
      rBody.setLinearVelocity(new Vector3f(0, 0, 0));
      rBody.clearForces();
      rBody.activate(false);

    }

    float ms = getDeltaTimeMicroseconds();
View Full Code Here


    ite = myWorld.getCollisionObjectArray().iterator();

    while (ite.hasNext()) {
      RigidBody rBody = (RigidBody) ite.next();
      rBody.activate(true);
      // rBody.setCollisionFlags(CollisionFlags);

    }
    myWorld.setGravity(new Vector3f(0, SETTINGS.gravity, 0));
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.