diff --git a/jme3-examples/src/main/java/jme3test/bullet/TestPhysicsCharacter.java b/jme3-examples/src/main/java/jme3test/bullet/TestPhysicsCharacter.java index 235f5d291..3a75ad512 100644 --- a/jme3-examples/src/main/java/jme3test/bullet/TestPhysicsCharacter.java +++ b/jme3-examples/src/main/java/jme3test/bullet/TestPhysicsCharacter.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2009-2012 jMonkeyEngine All rights reserved.

+ * Copyright (c) 2009-2019 jMonkeyEngine All rights reserved.

* Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * @@ -139,10 +139,10 @@ public class TestPhysicsCharacter extends SimpleApplication implements ActionLis walkDirection.addLocal(camLeft.negate()); } if (leftRotate) { - viewDirection.addLocal(camLeft.mult(0.02f)); + viewDirection.addLocal(camLeft.mult(tpf)); } else if (rightRotate) { - viewDirection.addLocal(camLeft.mult(0.02f).negate()); + viewDirection.addLocal(camLeft.mult(tpf).negate()); } if (forward) { walkDirection.addLocal(camDir);