• Home
  • Raw
  • Download

Lines Matching refs:Vector3f

44 import com.jme3.math.Vector3f;
65 protected Vector3f HOVER_HEIGHT_LF_START = new Vector3f(xw, 1, zw);
66 protected Vector3f HOVER_HEIGHT_RF_START = new Vector3f(-xw, 1, zw);
67 protected Vector3f HOVER_HEIGHT_LR_START = new Vector3f(xw, 1, -zw);
68 protected Vector3f HOVER_HEIGHT_RR_START = new Vector3f(-xw, 1, -zw);
69 protected Vector3f HOVER_HEIGHT_LF = new Vector3f(xw, -yw, zw);
70 protected Vector3f HOVER_HEIGHT_RF = new Vector3f(-xw, -yw, zw);
71 protected Vector3f HOVER_HEIGHT_LR = new Vector3f(xw, -yw, -zw);
72 protected Vector3f HOVER_HEIGHT_RR = new Vector3f(-xw, -yw, -zw);
73 protected Vector3f tempVect1 = new Vector3f(0, 0, 0);
74 protected Vector3f tempVect2 = new Vector3f(0, 0, 0);
75 protected Vector3f tempVect3 = new Vector3f(0, 0, 0);
120 … addWheel(HOVER_HEIGHT_LF_START, new Vector3f(0, -1, 0), new Vector3f(-1, 0, 0), yw, yw, false); in createWheels()
121 … addWheel(HOVER_HEIGHT_RF_START, new Vector3f(0, -1, 0), new Vector3f(-1, 0, 0), yw, yw, false); in createWheels()
122 … addWheel(HOVER_HEIGHT_LR_START, new Vector3f(0, -1, 0), new Vector3f(-1, 0, 0), yw, yw, false); in createWheels()
123 … addWheel(HOVER_HEIGHT_RR_START, new Vector3f(0, -1, 0), new Vector3f(-1, 0, 0), yw, yw, false); in createWheels()
130 Vector3f angVel = getAngularVelocity(); in prePhysicsTick()
132 Vector3f dir = getForwardVector(tempVect2).multLocal(1, 0, 1).normalizeLocal(); in prePhysicsTick()
134 Vector3f linearVelocity = tempVect3.multLocal(1, 0, 1); in prePhysicsTick()
154Vector3f counter = dir.project(linearVelocity).normalizeLocal().negateLocal().multLocal(1 - d); in prePhysicsTick()
155 applyForce(counter.multLocal(mass * 10), Vector3f.ZERO); in prePhysicsTick()
158 applyForce(dir.multLocal(accelerationValue), Vector3f.ZERO); in prePhysicsTick()
164 applyForce(linearVelocity.mult(mass * 10), Vector3f.ZERO); in prePhysicsTick()