Hey, im trying to to ray-collision selection using getSceneNodeFromRayBB ()
I only want to select from my 'avatar' or 'creature' Scene Nodes. As I understand, I can set their ID in such a way that when I call getSceneNodeFromRayBB() I can send the ID parameter as a mask which should be checked against the ID of possibly colliding nodes.
My knowledge of bit masks can be seen here: http://www.skyesurfer.net/keless/vgp/bitflags.html
Unfortunately, its not working for me. Has anyone used this yet? Can you post an example, perhaps?
collision bitMask usage?
collision bitMask usage?
a screen cap is worth 0x100000 DWORDS