diff options
| author | Indah Sylvia | 2017-08-07 17:17:31 +0700 |
|---|---|---|
| committer | Indah Sylvia | 2017-08-07 18:24:35 +0700 |
| commit | 5ae78fdf6adf4b3ab417d2b6fd5a41bfa6d5cfe2 (patch) | |
| tree | 3f0dcef53a38d356a40fd7adce40387f21904a18 /scene/3d/collision_object.cpp | |
| parent | 7e4970214c92fec0e7262f36765764a81e28b2be (diff) | |
| download | godot-5ae78fdf6adf4b3ab417d2b6fd5a41bfa6d5cfe2.tar.gz godot-5ae78fdf6adf4b3ab417d2b6fd5a41bfa6d5cfe2.tar.zst godot-5ae78fdf6adf4b3ab417d2b6fd5a41bfa6d5cfe2.zip | |
Diffstat (limited to 'scene/3d/collision_object.cpp')
| -rw-r--r-- | scene/3d/collision_object.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scene/3d/collision_object.cpp b/scene/3d/collision_object.cpp index 5a3d8e013..2686cd81d 100644 --- a/scene/3d/collision_object.cpp +++ b/scene/3d/collision_object.cpp @@ -346,9 +346,9 @@ CollisionObject::CollisionObject(RID p_rid, bool p_area) { total_subshapes = 0; if (p_area) { - PhysicsServer::get_singleton()->area_attach_object_instance_ID(rid, get_instance_ID()); + PhysicsServer::get_singleton()->area_attach_object_instance_id(rid, get_instance_id()); } else { - PhysicsServer::get_singleton()->body_attach_object_instance_ID(rid, get_instance_ID()); + PhysicsServer::get_singleton()->body_attach_object_instance_id(rid, get_instance_id()); } //set_transform_notify(true); } |
