mirror of
https://github.com/godotengine/godot
synced 2024-11-02 05:26:46 +00:00
Fix per-node physics interpolation setting
The per-node default should be ON.
This commit is contained in:
parent
79de2eaae7
commit
e6b9161246
1 changed files with 2 additions and 2 deletions
|
@ -3780,7 +3780,7 @@ void Node::_bind_methods() {
|
|||
ADD_PROPERTY(PropertyInfo(Variant::INT, "process_thread_messages", PROPERTY_HINT_FLAGS, "Process,Physics Process"), "set_process_thread_messages", "get_process_thread_messages");
|
||||
|
||||
ADD_GROUP("Physics Interpolation", "physics_interpolation_");
|
||||
ADD_PROPERTY(PropertyInfo(Variant::INT, "physics_interpolation_mode", PROPERTY_HINT_ENUM, "Inherit,Off,On"), "set_physics_interpolation_mode", "get_physics_interpolation_mode");
|
||||
ADD_PROPERTY(PropertyInfo(Variant::INT, "physics_interpolation_mode", PROPERTY_HINT_ENUM, "Inherit,On,Off"), "set_physics_interpolation_mode", "get_physics_interpolation_mode");
|
||||
|
||||
ADD_GROUP("Auto Translate", "auto_translate_");
|
||||
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() {
|
|||
data.unhandled_input = false;
|
||||
data.unhandled_key_input = false;
|
||||
|
||||
data.physics_interpolated = false;
|
||||
data.physics_interpolated = true;
|
||||
|
||||
data.parent_owned = false;
|
||||
data.in_constructor = true;
|
||||
|
|
Loading…
Reference in a new issue