Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | RedPilled |
- As per the docs, I understand that following hierarchy is followed:
PhysicsObject
|
-ShapeOwner0 -> Shape2D0, Shape2d1......
|
-ShapeOwner2 -> Shape2D0, Shape2d1......
|
-ShapeOwner3 -> Shape2D0, Shape2d1......
|
.
.
Is this a correct visualization?
-
Is there any other design motive to have shape owners as an intermediate between an Object and it’s collision shape, other than grouping collision shapes?
-
Is
CollisionPolygon2D
also just a Editor-only helper node? -
Doc says
create_shape_owner(Object)
creates a new shape owner for the given object. However, while trying in GDScript, no matter which Object I provide, it creates an owner for the node calling this function. Is the Object parameter redundant?