EntityInView -> AnimMesh

Blitz3D Forums/Blitz3D Programming/EntityInView -> AnimMesh

Hi!

I have an odd problem. I use EntityInView to check if an entity is in my camera or not. If not, hide the entity, if yes, show the entity.

Now I have animMeshes, trees. Weird enough the foilage is hidden/shown when still in the camera view, and the tree branch is always shown. But it's one mesh! How can this be?

Don't use entity in view. Blitz will not render object that can't be seen. Only speed up in hiding is collisions aren't checked for that item :)

I use entityinview to speed up and it does just that.

Can you share the code that you are using to hide/show the entities?

Hey,

I guess the problem is something different: it's seems as parts of the meshes are dissapearing. I hope to inform you with a better description...I dont think the show/hide code causes this.

Thanks