Welcome Guest [Log In] [Register]
We hope you enjoy your visit.


You're currently viewing the Ultimate 3D Community as a guest. This means that you can only read posts, but can not create posts or topics by yourself. To be able to post you need to register. Then you can participate in the community active and use many member-only features such as customizing your profile, sending personal messages, and voting in polls. Registration is simple, fast, and completely free.

Join our community!

If you are already a member please log in to your account to access all of our features:

Username:   Password:
Add Reply
hide mesh
Topic Started: Nov 13 2012, 10:29 AM (145 Views)
andrei009
Member
[ *  * ]
How can I hide a mesh but keep his animations ? SetMaterial works only for primitives ...

Edit:
For the moment I applied a transparent texture , but is there a command that make this invisible with no texture?
Edited by andrei009, Nov 13 2012, 10:57 AM.
Offline Profile Quote Post Goto Top
 
RonBurgundy
Member Avatar
Forum Borat
[ *  *  *  *  *  * ]
SetModelMaterial() there is an argument for alpha.
!!! DEFEND POP PUNK !!!
Offline Profile Quote Post Goto Top
 
Despellanion
Member Avatar
Forum God
[ *  *  *  *  *  * ]
You want to hide the model completely or just set it transparent? If you want to hide it you should use SetObjectRoom(roomIndex); in the object and then SetRoomVisibility(roomIndex,false); in the camera.
Offline Profile Quote Post Goto Top
 
« Previous Topic · Questions about Ultimate 3D · Next Topic »
Add Reply