diff options
author | Aaron Franke <arnfranke@yahoo.com> | 2023-06-07 11:43:47 -0500 |
---|---|---|
committer | Aaron Franke <arnfranke@yahoo.com> | 2023-06-07 12:02:27 -0500 |
commit | ec09cff7f3509eabdeeff7fa418ed49f8a56136d (patch) | |
tree | 2e8f5d8f3716234d76f75170a2249e08ed598908 /scene/2d/collision_shape_2d.h | |
parent | 72b59325cf7beba7e6e9170cf6023a079fd58672 (diff) | |
download | redot-engine-ec09cff7f3509eabdeeff7fa418ed49f8a56136d.tar.gz |
Internally rename parent to collision_object in CollisionShape(2D/3D)
Diffstat (limited to 'scene/2d/collision_shape_2d.h')
-rw-r--r-- | scene/2d/collision_shape_2d.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/2d/collision_shape_2d.h b/scene/2d/collision_shape_2d.h index 0cfe104774..3e13dd698c 100644 --- a/scene/2d/collision_shape_2d.h +++ b/scene/2d/collision_shape_2d.h @@ -41,7 +41,7 @@ class CollisionShape2D : public Node2D { Ref<Shape2D> shape; Rect2 rect = Rect2(-Point2(10, 10), Point2(20, 20)); uint32_t owner_id = 0; - CollisionObject2D *parent = nullptr; + CollisionObject2D *collision_object = nullptr; bool disabled = false; bool one_way_collision = false; real_t one_way_collision_margin = 1.0; |