File tree Expand file tree Collapse file tree 2 files changed +2
-0
lines changed
2d/physics_tests/tests/functional
3d/physics_tests/tests/functional Expand file tree Collapse file tree 2 files changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -113,6 +113,7 @@ func _create_joint() -> void:
113113 parent_body .gravity_scale = 0.0
114114 child_body .gravity_scale = 0.0
115115 else :
116+ parent_body .freeze_mode = RigidBody2D .FREEZE_MODE_KINEMATIC
116117 parent_body .freeze = true
117118 if _change_positions :
118119 root .add_child (parent_body )
Original file line number Diff line number Diff line change @@ -113,6 +113,7 @@ func _create_joint() -> void:
113113 parent_body .gravity_scale = 0.0
114114 child_body .gravity_scale = 0.0
115115 else :
116+ parent_body .freeze_mode = RigidBody3D .FREEZE_MODE_KINEMATIC
116117 parent_body .freeze = true
117118 if _change_positions :
118119 root .add_child (parent_body )
You can’t perform that action at this time.
0 commit comments