summaryrefslogtreecommitdiff
path: root/scene/2d/physical_bone_2d.h
diff options
context:
space:
mode:
Diffstat (limited to 'scene/2d/physical_bone_2d.h')
-rw-r--r--scene/2d/physical_bone_2d.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/scene/2d/physical_bone_2d.h b/scene/2d/physical_bone_2d.h
index 46a2772bad..a250d0aadd 100644
--- a/scene/2d/physical_bone_2d.h
+++ b/scene/2d/physical_bone_2d.h
@@ -36,8 +36,8 @@
#include "scene/2d/skeleton_2d.h"
-class PhysicalBone2D : public RigidBody2D {
- GDCLASS(PhysicalBone2D, RigidBody2D);
+class PhysicalBone2D : public RigidDynamicBody2D {
+ GDCLASS(PhysicalBone2D, RigidDynamicBody2D);
protected:
void _notification(int p_what);