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