I seem to be having problems with EntityVisible where it is acting just like EntityInView.
I load one of my levels meshes and set it to being an occluder...
It does return false just like EntityInView does i.e. if the entity is outside of the camera's frustum.
Im sure it was working once, what have I overlooked ? Do I have to make the entity pickable too or something?
I load one of my levels meshes and set it to being an occluder...
m\mesh=LoadMesh("./Media/dungy.b3d") EntityPickMode m\mesh,2,True ;cam is the camera, e\pivot is a cube created with createcube... ;This returns true even if the mesh above is blocking the line of sight between the camera and entity O.o If EntityVisible (cam,e\pivot)=True etc. etc.
It does return false just like EntityInView does i.e. if the entity is outside of the camera's frustum.
Im sure it was working once, what have I overlooked ? Do I have to make the entity pickable too or something?