Skip to content

Commit 4ff5731

Browse files
committed
Merge pull request godotengine#90246 from rburing/fti_2d_per_node
Fix per-node physics interpolation setting
2 parents 6a64e5a + e6b9161 commit 4ff5731

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scene/main/node.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3780,7 +3780,7 @@ void Node::_bind_methods() {
37803780
ADD_PROPERTY(PropertyInfo(Variant::INT, "process_thread_messages", PROPERTY_HINT_FLAGS, "Process,Physics Process"), "set_process_thread_messages", "get_process_thread_messages");
37813781

37823782
ADD_GROUP("Physics Interpolation", "physics_interpolation_");
3783-
ADD_PROPERTY(PropertyInfo(Variant::INT, "physics_interpolation_mode", PROPERTY_HINT_ENUM, "Inherit,Off,On"), "set_physics_interpolation_mode", "get_physics_interpolation_mode");
3783+
ADD_PROPERTY(PropertyInfo(Variant::INT, "physics_interpolation_mode", PROPERTY_HINT_ENUM, "Inherit,On,Off"), "set_physics_interpolation_mode", "get_physics_interpolation_mode");
37843784

37853785
ADD_GROUP("Auto Translate", "auto_translate_");
37863786
ADD_PROPERTY(PropertyInfo(Variant::INT, "auto_translate_mode", PROPERTY_HINT_ENUM, "Inherit,Always,Disabled"), "set_auto_translate_mode", "get_auto_translate_mode");
@@ -3833,7 +3833,7 @@ Node::Node() {
38333833
data.unhandled_input = false;
38343834
data.unhandled_key_input = false;
38353835

3836-
data.physics_interpolated = false;
3836+
data.physics_interpolated = true;
38373837

38383838
data.parent_owned = false;
38393839
data.in_constructor = true;

0 commit comments

Comments
 (0)