aboutsummaryrefslogtreecommitdiff
path: root/servers/physics/collision_object_sw.cpp
diff options
context:
space:
mode:
authoralexholly2017-06-06 20:33:51 +0200
committerRémi Verschelde2017-06-09 15:54:02 +0200
commit935f730170d75955f708b5014da3e11c95fcdac4 (patch)
tree693c281eb4ed706ba4be9867e7f1276450e63e99 /servers/physics/collision_object_sw.cpp
parent63fd693c1ebd2d3d2c23f3969ca8f6f3e18ff3e4 (diff)
downloadgodot-935f730170d75955f708b5014da3e11c95fcdac4.tar.gz
godot-935f730170d75955f708b5014da3e11c95fcdac4.tar.zst
godot-935f730170d75955f708b5014da3e11c95fcdac4.zip
renamed all Rect3.pos to Rect3.position
Diffstat (limited to 'servers/physics/collision_object_sw.cpp')
-rw-r--r--servers/physics/collision_object_sw.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/servers/physics/collision_object_sw.cpp b/servers/physics/collision_object_sw.cpp
index 5eb10a4d0..dc0b2fc84 100644
--- a/servers/physics/collision_object_sw.cpp
+++ b/servers/physics/collision_object_sw.cpp
@@ -164,7 +164,7 @@ void CollisionObjectSW::_update_shapes_with_motion(const Vector3 &p_motion) {
Rect3 shape_aabb = s.shape->get_aabb();
Transform xform = transform * s.xform;
shape_aabb = xform.xform(shape_aabb);
- shape_aabb = shape_aabb.merge(Rect3(shape_aabb.pos + p_motion, shape_aabb.size)); //use motion
+ shape_aabb = shape_aabb.merge(Rect3(shape_aabb.position + p_motion, shape_aabb.size)); //use motion
s.aabb_cache = shape_aabb;
space->get_broadphase()->move(s.bpid, shape_aabb);