Hi!
I'd like to trace rays with newton to determine what objects are between the camera's focus point(player position) and the cameras position, in order to make them transparent.
However, i make the static bodies in the scene part of a SceneCollision, so when i trace with the rays, i obtain the whole body of the SceneCollision.
Is there any way to get the proxy?
I'd like to use userdata with the proxies in that case, but since i cant find any code to get/set userdata for proxies, i thought i'd settle for using a map-container with proxys as keys.
The alternative seems to be making every static object a Body. It seems to me like that'd make collision checking slower. So i thought i'd ask; Is there some technique or method i've failed to see and/or graps that i could use instead?
/Luben