mirror of
https://github.com/godotengine/godot.git
synced 2024-12-09 10:09:20 +08:00
Make Skeleton3D
bone simulator an internal child
This commit is contained in:
parent
eabeafd8c3
commit
602a348ab1
@ -300,7 +300,7 @@ void Skeleton3D::setup_simulator() {
|
|||||||
simulator = sim;
|
simulator = sim;
|
||||||
sim->is_compat = true;
|
sim->is_compat = true;
|
||||||
sim->set_active(false); // Don't run unneeded process.
|
sim->set_active(false); // Don't run unneeded process.
|
||||||
add_child(simulator);
|
add_child(simulator, false, INTERNAL_MODE_BACK);
|
||||||
set_animate_physical_bones(animate_physical_bones);
|
set_animate_physical_bones(animate_physical_bones);
|
||||||
}
|
}
|
||||||
#endif // _DISABLE_DEPRECATED
|
#endif // _DISABLE_DEPRECATED
|
||||||
|
Loading…
Reference in New Issue
Block a user