freeentity on a copied mesh?
Blitz3D Forums/Blitz3D Programming/freeentity on a copied mesh?| 
 | ||
| Anyone have issues with this?  I'm loading a "master" mesh and copying it for each subsequent entity's mesh.  When I use FreeEntity on the subsequent meshes I get an "Entity does not exist" error.  Probably just my shabby attention to detail or something... | 
| 
 | ||
| would need to see some code, are you trying to reference it after it's been deleted? | 
| 
 | ||
| CopyEntity creates another instance of an entity, so changes made to one, will apply to all the others too. Try using CopyMesh instead. | 
| 
 | ||
| FreeEntity doesn't delete the other copies. There must be an error in your code i reckon. | 
| 
 | ||
| Yep it's my code, threw together a quick skeleton tester and it works fine.  What a mess I've made! Thanks guys. |