I think the Soya CoordSyst solid property is rather complicated to use. I often need an object to be sometime solid and sometime non solid depending on what I want to test. For example my character must be non solid for the traveling camera to work, but it must be solid to allow some others objets (other charecter, fireball, sword...) to perform collision detection on it. Turn on or off the solid property of every object all the time is a real mess I think.
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. What do you think about it ? If you are interested I can work on it and submit a patch. Souvarine. _______________________________________________ Soya-user mailing list [email protected] https://mail.gna.org/listinfo/soya-user
