override hide?[solved]

Hi, I have a Actor model which I have exposed a joint; then I have loaded another model and parented it to this exposed joint. When I call hide() into the actor model, the other model, parented to the joint dissapears too.

How should I proceed to hide a model containing a joint without hiding the models parented to that joint?

Thanks in advance for any help!

You can use model.showThrough() on a lower model to override a hide() from above.

Or, you can avoid hiding the entire parent model, and just hide model.getGeomNode() instead. This is the visible model, which doesn’t necessarily include the exposed joints.


Thanks Drwr! Hide geom haven´t worked(parented models got hidden too), but showthrought yes