Package jinngine.physics.constraint.joint

Examples of jinngine.physics.constraint.joint.BallInSocketJoint


      controller.setVelocity(new Vector3());
      controller.setPosition(pickpoint);
      controller.updateTransformations();
      target.updateTransformations();

      this.force = new BallInSocketJoint(target, controller, controller.getPosition(), new Vector3(0,1,0));
      this.force.setForceLimit(1.5*target.getMass());
      this.force.setCorrectionVelocityLimit(7);
     
      // copy angular mass properties
      inertia = new InertiaMatrix(target.state.inertia);
View Full Code Here

TOP

Related Classes of jinngine.physics.constraint.joint.BallInSocketJoint

Copyright © 2018 www.massapicom. 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.