joshcamas Posted October 31, 2014 Share Posted October 31, 2014 Hey guys! I'm making a meshManager on my engine, but have fallen into a problem: When you load a mesh, it immediately gets added to the world! What I would like to do is to load the mesh and to use it as a reference for other objects. This would be useful so then one does not need to load hundreds of the identical rock, and such. Anyone know how to do this? Basically I want a way to load a mesh in the background without a fancy loader, and then reference it. EDIT: Even a better idea would be to have this "mother mesh" never be on the actual scene, while instances are! EDIT2: I have managed to make this work in a very messy way - simply made the meshes invisible, then made instances of it. This seems like a very cheap way to do it. Quote Link to comment Share on other sites More sharing options...
Temechon Posted November 1, 2014 Share Posted November 1, 2014 Hi , It is indeed the right way to do this. Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted November 3, 2014 Share Posted November 3, 2014 Not invisible but instead use setEnabled(false) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.