HomeSort by relevance Sort by last modified time
    Searched refs:targetVelocity (Results 1 - 8 of 8) sorted by null

  /external/replicaisland/src/com/replica/replicaisland/
Interpolator.java 92 private boolean passedTarget(float oldVelocity, float newVelocity, float targetVelocity) {
95 if (oldVelocity < targetVelocity && newVelocity > targetVelocity) {
97 } else if (oldVelocity > targetVelocity && newVelocity < targetVelocity) {
OrbitalMagnetComponent.java 84 final Vector2 targetVelocity = target.getVelocity();
89 targetVelocity.subtract(mVelocity);
91 mDelta.add(targetVelocity);
117 final float speed = targetVelocity.length();
118 targetVelocity.add(mVelocity);
119 if (targetVelocity.length2() > (speed * speed)) {
120 targetVelocity.normalize();
121 targetVelocity.multiply(speed);
GameObject.java 180 public final void setTargetVelocity(Vector2 targetVelocity) {
181 mTargetVelocity.set(targetVelocity);
  /external/jmonkeyengine/engine/src/jbullet/com/jme3/bullet/joints/motors/
RotationalLimitMotor.java 67 return motor.targetVelocity;
70 public void setTargetVelocity(float targetVelocity) {
71 motor.targetVelocity = targetVelocity;
  /external/jmonkeyengine/engine/src/bullet/com/jme3/bullet/joints/motors/
RotationalLimitMotor.java 80 public void setTargetVelocity(float targetVelocity) {
81 setTargetVelocity(motorId, targetVelocity);
84 private native void setTargetVelocity(long motorId, float targetVelocity);
  /external/jmonkeyengine/engine/src/bullet/com/jme3/bullet/joints/
HingeJoint.java 76 public void enableMotor(boolean enable, float targetVelocity, float maxMotorImpulse) {
77 enableMotor(objectId, enable, targetVelocity, maxMotorImpulse);
80 private native void enableMotor(long objectId, boolean enable, float targetVelocity, float maxMotorImpulse);
156 capsule.write(getMotorTargetVelocity(), "targetVelocity", 0.0f);
175 float targetVelocity = capsule.readFloat("targetVelocity", 0.0f);
179 enableMotor(enableAngularMotor, targetVelocity, maxMotorImpulse);
  /external/jmonkeyengine/engine/src/jbullet/com/jme3/bullet/joints/
HingeJoint.java 76 public void enableMotor(boolean enable, float targetVelocity, float maxMotorImpulse) {
77 ((HingeConstraint) constraint).enableAngularMotor(enable, targetVelocity, maxMotorImpulse);
124 capsule.write(((HingeConstraint) constraint).getMotorTargetVelosity(), "targetVelocity", 0.0f);
143 float targetVelocity=capsule.readFloat("targetVelocity", 0.0f);
147 enableMotor(enableAngularMotor, targetVelocity, maxMotorImpulse);
  /external/jmonkeyengine/engine/src/bullet-native/
com_jme3_bullet_joints_HingeJoint.cpp 49 (JNIEnv * env, jobject object, jlong jointId, jboolean enable, jfloat targetVelocity, jfloat maxMotorImpulse) {
56 joint->enableAngularMotor(enable, targetVelocity, maxMotorImpulse);

Completed in 507 milliseconds