Home
last modified time | relevance | path

Searched refs:viewDirection (Results 1 – 2 of 2) sorted by relevance

/external/jmonkeyengine/engine/src/bullet-common/com/jme3/bullet/control/
DCharacterControl.java32 protected Vector3f viewDirection = new Vector3f(Vector3f.UNIT_Z); field in CharacterControl
116 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()
/external/jmonkeyengine/engine/src/test/jme3test/bullet/
DTestPhysicsCharacter.java56 private Vector3f viewDirection = new Vector3f(0,0,0); field in TestPhysicsCharacter
133 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()