Browse Source

* Applied wezrule's patch: http://jmonkeyengine.org/groups/physics/forum/topic/making-an-object-hover-purely-by-applying-forces/#post-181360

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9542 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
Sha..om 13 năm trước cách đây
mục cha
commit
5d982c71d1

+ 2 - 2
engine/src/bullet-common/com/jme3/bullet/PhysicsTickListener.java

@@ -42,13 +42,13 @@ public interface PhysicsTickListener {
      * @param space the physics space
      * @param space the physics space
      * @param tpf the time per frame in seconds 
      * @param tpf the time per frame in seconds 
      */
      */
-    public void prePhysicsTick(PhysicsSpace space, float f);
+    public void prePhysicsTick(PhysicsSpace space, float tpf);
 
 
     /**
     /**
      * Called after the physics has been stepped, use to check for forces etc.
      * Called after the physics has been stepped, use to check for forces etc.
      * @param space the physics space
      * @param space the physics space
      * @param tpf the time per frame in seconds
      * @param tpf the time per frame in seconds
      */
      */
-    public void physicsTick(PhysicsSpace space, float f);
+    public void physicsTick(PhysicsSpace space, float tpf);
 
 
 }
 }