mirror of
https://github.com/godotengine/godot.git
synced 2026-01-03 18:11:19 +03:00
Portals - include in bound and special cases in start room
* Re-introduces a property for portals to decide whether they are included in room bounds during room conversion. * Adds a special case for portals that extend into the start room, which may be caused by level design inaccuracies.
This commit is contained in:
@@ -23,6 +23,9 @@
|
||||
</method>
|
||||
</methods>
|
||||
<members>
|
||||
<member name="include_in_bound" type="bool" setter="set_include_in_bound" getter="get_include_in_bound" default="false">
|
||||
When a manual bound has not been explicitly specified for a [Room], the convex hull bound will be estimated from the geometry of the objects within the room. This setting determines whether the portal geometry is included in this estimate of the room bound.
|
||||
</member>
|
||||
<member name="linked_room" type="NodePath" setter="set_linked_room" getter="get_linked_room" default="NodePath("")">
|
||||
This is a shortcut for setting the linked [Room] in the name of the [Portal] (the name is used during conversion).
|
||||
</member>
|
||||
|
||||
Reference in New Issue
Block a user