소스 검색

Update rigid_body.rst

kkoang 2 년 전
부모
커밋
995196806e
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      tutorials/physics/rigid_body.rst

+ 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)