I have two different Scenemanagers one is only used to Render a different Scene into a Texture. But on Querying the Scene by a CameraToViewportRay I have the problem the the objects are found in the first Scenemanager even if they are not displayed in the main scene. On the other Hand if I do the query in the second scene I do not get any Object.
Is there any reason for that?
Problems building or running the engine, queries about how to use features etc.
2 posts • Page 1 of 1
- Posts: 3
- Joined: Mon Feb 05, 2018 7:43 am
Problem solved. You can assign objects created in one scene manager into another. Hittesting is then performed in the scene manager the object is created and not in which the object is assigned to. I have used ST_GENERIC.