View Full Version : Visual Profile and Collision Polygons

05-15-2009, 02:14 PM
So from reading the tutorials I've come across Visual Profiles - a very powerful feature. When an entity get set with this:SetVisualProfile(...) its "model" is changed but not it's collision sphere. Normally this would not be a problem since the profiles for different entities would most likely be the same size. In some cases one would want to set an Entity's visual profile to something completely different.

Why don't we store the collision spheres for entities in the XML files that describe the profile? In my opinion each sprite should be able to reference its own collision coordinates. If not present then we check the entities default collision information.

Are my assumptions incorrect?

05-15-2009, 02:23 PM

I just realised that you can load collision information dynamically. :crazy: