Game Development Community

the status of "setMeshHidden" and "hideMesh"?

by deepscratch · in Torque 3D Professional · 10/03/2009 (2:23 pm) · 1 replies

where do we stand with these two?
I have set up animated hands that steer the wheels of my vehicles, much the same as animated weapon hands, and I want them to remain hidden until a player mounts the vehicle, then to become hidden when he dismounts.
what would the best solution be for this,
I saw there seemed to be some problems with "setMeshHidden" and "hideMesh"?

#1
10/03/2009 (3:47 pm)
setMeshHidden seems to work fine. Just remember that you have to pass the mesh name and true or false (to indicate whether you want it to be hidden or not). For example, %player.setMeshHidden("myplayerarms", true);