Skip to content

[WIP] New Subspace2D node and Space2D resource

Leonard Meagher requested to merge github/fork/LeonardMeagher2/room-2d into master
  • Subspace2D node this node requires a Space2D resource and allows you to separate different nodes into different physics spaces. Any node that is a child of a Subspace2D will use the space from the Space2D resource.

  • Space2D resource this allows you create and configure a physics space that is used with a Subspace2D node.

  • modified places I saw using the world_2d space to use get_physics_space which is a function I added to CanvasItem that handles if the node is a child of a Subspace2D node or not.

fixes #28074 (closed)

Merge request reports