Forums

Full Version: collision box
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
can we do something about extending the collision box on the open-wheel cars (F1, and T73 in particular) to include the wheels? i am not sure what would be the best approach: extending the actual collision box that comes with the car or having vdrift make the wheels collide-able. i guess if the wheels were made collide-able in the code then we would have sort of a dynamic collision box that takes into account the wheel position. this would be most realistic but i am not sure of the impact on performance. any ideas?

--alex--
Extending the existing collision boxes would probably be good enough. Adding collision checks for the wheels in the code is probably not the best way to go; they're pretty expensive.
Another option would be to just generate the collision box in the code (expanding it to account for the tires) instead of loading it from a file. Having it loaded from a file gives the artist more freedom, but maybe that's extra freedom which isn't wanted and just ends up being more work. What do you think?
joevenzon Wrote:Another option would be to just generate the collision box in the code (expanding it to account for the tires) instead of loading it from a file. Having it loaded from a file gives the artist more freedom, but maybe that's extra freedom which isn't wanted and just ends up being more work. What do you think?

i am all for it. i don't think there is that much freedom in making the collision box anyway instead being more of an inconvenience, really.

--alex--