Summary
When moving an entity from one parent to another, the mesh_component is no longer visible, collision is still present, disabling/reenabling mesh_component visibility does not solve the problem.
Please select what you are reporting on:
Verse
What Type of Bug are you experiencing?
Verse
Steps to Reproduce
- Place a mesh_component on a child entity
- Make sure the mesh_component is visible, and has collision (will help later)
- In Verse use move the entity with the mesh_component to a new entity. Doesn’t matter if you remove from original parent first or straight to AddEntities()
- Set Child Entity GlobalTransform to Entity.GetParent.GetGlobalTransform just to confirm the parent swap worked.
- Execute the code and try to walk through the new parent entity. The collision is there, and all signs point to a successful parent transfer, but the mesh is no longer visible.
Expected Result
The entity with the mesh_component should remain visible when being removed from previous parent and attached to the new parent entity.
Observed Result
While the transfer from one parent to another is successful, and the collision working as expected, the is no longer visible.
Platform(s)
PC
Island Code
1687-7235-2506