I have done exactly the same thing that you did Brucey with the CollisionFiltering example, and I got exactly the same results as you.
I then copied exactly the same code into my program, and i got the same error as before. At least I know it must be something I'm doing now. I've no idea what (yet). The thing is - is that shape2 isn't coming up as NULL. I can do shape2.GetFilterData() without an error, but I can't do shape2.GetFilterData().GetGroupIndex() without an error for example. In fact I can't seem to do anything else on Shape2.
Thank you for your help Brucey. I will let you know what was wrong when I find out.
Rico
I then copied exactly the same code into my program, and i got the same error as before. At least I know it must be something I'm doing now. I've no idea what (yet). The thing is - is that shape2 isn't coming up as NULL. I can do shape2.GetFilterData() without an error, but I can't do shape2.GetFilterData().GetGroupIndex() without an error for example. In fact I can't seem to do anything else on Shape2.
Thank you for your help Brucey. I will let you know what was wrong when I find out.
Rico