Update INSTRUCTIONS.md

This commit is contained in:
lawnjelly 2020-01-09 14:14:08 +00:00 committed by GitHub
parent 1fcdeaa0e5
commit a451140079
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -41,7 +41,9 @@ What does give the expected performance boost and prevent them being processed i
For instance a collision shape child may mean the physics no longer works for the object when culled. To get around this it is suggested to either create collision shapes as siblings (rather than children) of MeshInstances, or place them in another part of the scene graph.
On the other hand you may actively wish to deactivate some processing (e.g. AI) rather than just rendering in areas that are not visible. For this purpose you can query LPortal to find which rooms are visible.
However, the ultimate choice of which method is up to you. You can choose either detaching objects to show / hide, or the more traditional godot show / hide approach (which will not affect physics etc). The command `rooms_set_hide_method_detach` can either be set to true (default) or false. This should be set before using `rooms_convert`.
You may also actively wish to deactivate some processing (e.g. AI), rather than just rendering in areas that are not visible. For this purpose you can query LPortal to find which rooms are visible.
# Components