Lines Matching refs:Vector3f

16 import com.jme3.math.Vector3f;
28 private Vector3f upforce = new Vector3f(0, 200, 0);
48 shoulders = createLimb(0.2f, 1.0f, new Vector3f(0.00f, 1.5f, 0), true); in createRagDoll()
49 Node uArmL = createLimb(0.2f, 0.5f, new Vector3f(-0.75f, 0.8f, 0), false); in createRagDoll()
50 Node uArmR = createLimb(0.2f, 0.5f, new Vector3f(0.75f, 0.8f, 0), false); in createRagDoll()
51 Node lArmL = createLimb(0.2f, 0.5f, new Vector3f(-0.75f, -0.2f, 0), false); in createRagDoll()
52 Node lArmR = createLimb(0.2f, 0.5f, new Vector3f(0.75f, -0.2f, 0), false); in createRagDoll()
53 Node body = createLimb(0.2f, 1.0f, new Vector3f(0.00f, 0.5f, 0), false); in createRagDoll()
54 Node hips = createLimb(0.2f, 0.5f, new Vector3f(0.00f, -0.5f, 0), true); in createRagDoll()
55 Node uLegL = createLimb(0.2f, 0.5f, new Vector3f(-0.25f, -1.2f, 0), false); in createRagDoll()
56 Node uLegR = createLimb(0.2f, 0.5f, new Vector3f(0.25f, -1.2f, 0), false); in createRagDoll()
57 Node lLegL = createLimb(0.2f, 0.5f, new Vector3f(-0.25f, -2.2f, 0), false); in createRagDoll()
58 Node lLegR = createLimb(0.2f, 0.5f, new Vector3f(0.25f, -2.2f, 0), false); in createRagDoll()
60 join(body, shoulders, new Vector3f(0f, 1.4f, 0)); in createRagDoll()
61 join(body, hips, new Vector3f(0f, -0.5f, 0)); in createRagDoll()
63 join(uArmL, shoulders, new Vector3f(-0.75f, 1.4f, 0)); in createRagDoll()
64 join(uArmR, shoulders, new Vector3f(0.75f, 1.4f, 0)); in createRagDoll()
65 join(uArmL, lArmL, new Vector3f(-0.75f, .4f, 0)); in createRagDoll()
66 join(uArmR, lArmR, new Vector3f(0.75f, .4f, 0)); in createRagDoll()
68 join(uLegL, hips, new Vector3f(-.25f, -0.5f, 0)); in createRagDoll()
69 join(uLegR, hips, new Vector3f(.25f, -0.5f, 0)); in createRagDoll()
70 join(uLegL, lLegL, new Vector3f(-.25f, -1.7f, 0)); in createRagDoll()
71 join(uLegR, lLegR, new Vector3f(.25f, -1.7f, 0)); in createRagDoll()
89 private Node createLimb(float width, float height, Vector3f location, boolean rotate) { in createLimb()
99 private PhysicsJoint join(Node A, Node B, Vector3f connectionPoint) { in join()
100 Vector3f pivotA = A.worldToLocal(connectionPoint, new Vector3f()); in join()
101 Vector3f pivotB = B.worldToLocal(connectionPoint, new Vector3f()); in join()
121 shoulders.getControl(RigidBodyControl.class).applyForce(upforce, Vector3f.ZERO); in simpleUpdate()