mirror of
https://github.com/godotengine/godot.git
synced 2025-10-19 16:03:29 +00:00
Portals - Allow user to set roaming expansion margin
Previously a crude metric was used to decide on the roaming expansion margin, but it created unexpected results in some scenarios. Instead this setting is exposed to the user via the RoomManager, allowing them to tailor it to the world size, room sizes, roaming objects sizes and the speeds of movement.
This commit is contained in:
parent
0529813cf2
commit
788f075b44
10 changed files with 29 additions and 22 deletions
|
@ -523,7 +523,7 @@ public:
|
|||
FUNC8(rooms_finalize, RID, bool, bool, bool, bool, String, bool, bool)
|
||||
FUNC4(rooms_override_camera, RID, bool, const Vector3 &, const Vector<Plane> *)
|
||||
FUNC2(rooms_set_active, RID, bool)
|
||||
FUNC2(rooms_set_params, RID, int)
|
||||
FUNC3(rooms_set_params, RID, int, real_t)
|
||||
FUNC3(rooms_set_debug_feature, RID, RoomsDebugFeature, bool)
|
||||
FUNC2(rooms_update_gameplay_monitor, RID, const Vector<Vector3> &)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue