1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-13 13:31:48 +00:00

Create CollisionObject debug shapes using VS

(cherry picked from commit 60ee8c9639)
This commit is contained in:
trollodel
2021-04-27 11:23:08 +02:00
committed by Rémi Verschelde
parent 5193c3c8eb
commit 140cf0f2cb
5 changed files with 103 additions and 51 deletions

View File

@@ -457,6 +457,7 @@ void RigidBody::_direct_state_changed(Object *p_state) {
if (get_script_instance())
get_script_instance()->call("_integrate_forces", state);
set_ignore_transform_notification(false);
_on_transform_changed();
if (contact_monitor) {
@@ -2224,6 +2225,7 @@ void PhysicalBone::_direct_state_changed(Object *p_state) {
set_ignore_transform_notification(true);
set_global_transform(global_transform);
set_ignore_transform_notification(false);
_on_transform_changed();
// Update skeleton
if (parent_skeleton) {