> I suggest to make a category bitfield system as in ODE. Every object
> would have a 32 bit wide bitfield identifying witch categories it
> belong. The world.RaypickContext method would have an optional parameter
> telling witch categories it should care about.
> 
> I also think it would be usefull to add the RaypickContext class a
> method that return a list of every object inside the context. This could
> be handy for example to programm an explosion that affect every objects
> in a limited area.

Yes, these are good ideas ! I've encountered the same problem but never taken 
the time to solve it.

The same bitfield would be used by ODE.


> What do you think about it ? If you are interested I can work on it and
> submit a patch.

I am interested :-)

I can give you SVN write access if you want, too.

Jiba

_______________________________________________
Soya-user mailing list
[email protected]
https://mail.gna.org/listinfo/soya-user

Reply via email to