diff options
author | qarmin <mikrutrafal54@gmail.com> | 2020-04-18 11:00:51 +0200 |
---|---|---|
committer | qarmin <mikrutrafal54@gmail.com> | 2020-04-18 11:00:51 +0200 |
commit | 559bc3ca87042d477331ecd32f1881ce8d0b5d91 (patch) | |
tree | 7039216faa9c9261f60bcc726ac3453257dd9127 /scene/3d/collision_object_3d.cpp | |
parent | d817be92c2d9edce842ab37ab13117743f8a3bee (diff) |
Change non-existent World to World3D
Diffstat (limited to 'scene/3d/collision_object_3d.cpp')
-rw-r--r-- | scene/3d/collision_object_3d.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/3d/collision_object_3d.cpp b/scene/3d/collision_object_3d.cpp index e6cd7bfe7e..5d050e32b0 100644 --- a/scene/3d/collision_object_3d.cpp +++ b/scene/3d/collision_object_3d.cpp @@ -44,7 +44,7 @@ void CollisionObject3D::_notification(int p_what) { else PhysicsServer3D::get_singleton()->body_set_state(rid, PhysicsServer3D::BODY_STATE_TRANSFORM, get_global_transform()); - RID space = get_world()->get_space(); + RID space = get_world_3d()->get_space(); if (area) { PhysicsServer3D::get_singleton()->area_set_space(rid, space); } else |