Entity welding – Ylands
(Created page with " ---- {{Ylands scripting navbox}}") |
No edit summary |
||
Line 1: | Line 1: | ||
=Overview= | |||
Entity welding is important optimization feature, which allows to merge multiple entities in to one. Entities welded together will have new, optimized collision envelope, which should lead to better performance in game. | |||
<gallery> | |||
Image:Ylands-Editor-entity_welding_before.jpg|Colliders before weld | |||
Image:Ylands-Editor-entity_welding_after.jpg|Colliders after weld | |||
</gallery> | |||
Welding works similar as object grouping, but works only with compatible entities. Entity weld is new game object and is threatened in same manner as entity - it can be referenced in script or included in a group as object. Entity weld provides similar editing options as Object group - it is possible to cancel the weld or edit welded entities on individual level. | |||
==Entity welding== | |||
When valid entities are selected, Weld entities option in object selection menu will become available. This button will initiate the merge process and create Entity weld. | |||
===Entities that cannot be welded=== | |||
*Pickable entities (can be disabled) | |||
*Entities with interactions (e.g chairs, doors) | |||
*Entities with animations (e.g trees, grass) | |||
*Entities in labels | |||
*Entities referenced in script | |||
=Vehicle construction mode= | |||
=Game optimizations= | |||
---- | ---- | ||
{{Ylands scripting navbox}} | {{Ylands scripting navbox}} |
Revision as of 14:16, 15 April 2019
Overview
Entity welding is important optimization feature, which allows to merge multiple entities in to one. Entities welded together will have new, optimized collision envelope, which should lead to better performance in game.
Welding works similar as object grouping, but works only with compatible entities. Entity weld is new game object and is threatened in same manner as entity - it can be referenced in script or included in a group as object. Entity weld provides similar editing options as Object group - it is possible to cancel the weld or edit welded entities on individual level.
Entity welding
When valid entities are selected, Weld entities option in object selection menu will become available. This button will initiate the merge process and create Entity weld.
Entities that cannot be welded
- Pickable entities (can be disabled)
- Entities with interactions (e.g chairs, doors)
- Entities with animations (e.g trees, grass)
- Entities in labels
- Entities referenced in script