瀏覽代碼

FixedUpdate -> PhysicsPreStep

Josh Engebretson 9 年之前
父節點
當前提交
8fe4da0fd2
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      AtomicMutant/CSharp/Resources/Components/Character.cs

+ 1 - 1
AtomicMutant/CSharp/Resources/Components/Character.cs

@@ -9,7 +9,7 @@ public class Character : CSComponent
         SubscribeToEvent("NodeCollision", HandleNodeCollision);
         SubscribeToEvent("NodeCollision", HandleNodeCollision);
     }
     }
 
 
-    void FixedUpdate(float timeStep)
+    void PhysicsPreStep(float timeStep)
     {
     {
 
 
         /// TODO: Could cache the components for faster access instead of finding them each frame
         /// TODO: Could cache the components for faster access instead of finding them each frame