Entity instead of the Terrain Scene Manager

MusgooDKZ

08-07-2009 08:42:50

I want to use custom entity instead of the Terrain Scene Manager and i got problem with calculating Height of the entity.

I have changed HeightFunction
raySceneQuery->setQueryTypeMask(Ogre::SceneManager::ENTITY_TYPE_MASK);

1. But it doesn't work. Does that function work with custom entity ?

2. I have 2 Entities - how works function setDensityMap() in this case ?