Searched refs:viewDirection (Results 1 – 2 of 2) sorted by relevance
32 protected Vector3f viewDirection = new Vector3f(Vector3f.UNIT_Z); field in CharacterControl116 viewDirection.set(vec); in setViewDirection()120 return viewDirection; in getViewDirection()143 localRotationQuat.lookAt(viewDirection, Vector3f.UNIT_Y); in update()148 localRotationQuat.lookAt(viewDirection, Vector3f.UNIT_Y); in update()193 oc.write(viewDirection, "viewDirection", new Vector3f(Vector3f.UNIT_Z)); in write()203 viewDirection = (Vector3f) ic.readSavable("viewDirection", new Vector3f(Vector3f.UNIT_Z)); in read()
56 private Vector3f viewDirection = new Vector3f(0,0,0); field in TestPhysicsCharacter133 viewDirection.set(camDir); in simpleUpdate()142 viewDirection.addLocal(camLeft.mult(0.02f)); in simpleUpdate()145 viewDirection.addLocal(camLeft.mult(0.02f).negate()); in simpleUpdate()154 physicsCharacter.setViewDirection(viewDirection); in simpleUpdate()