2
0
kkoang 2 жил өмнө
parent
commit
995196806e

+ 1 - 1
tutorials/physics/rigid_body.rst

@@ -34,7 +34,7 @@ Here is a custom ``look_at()`` method that will work reliably with rigid bodies:
 .. tabs::
  .. code-tab:: gdscript GDScript
 
-    extends RigidBody
+    extends RigidBody3D
 
     func look_follow(state, current_transform, target_position):
         var up_dir = Vector3(0, 1, 0)