Hi Joel,
is the collision mesh component derived from node component?
The map component has a property VisibleInEntityList that can be used
by GUIs to determine if an entity should be shown in an entity list.
The Visible property in the layer component can be used to toggle
visibility of the NodeComponent attached to the layer component. So if
you have a PositionAttitudeTransform component and a Layer component
and the PAT component is the AttachedComponent of the layer component
then toggling the visibility of the layer component will modify the
node mask of the PAT node in the PAT component.
I would suggest adding a custom node mask for debug geometry (see
nodemasks.h) and modifying the cull mask of the camera(s) to toggle
the visibility.
Cheers,
Martin
2012/6/26 Joel Vedrenne (Ensam) <
Joel.V...@ensam.eu>: