![]() |
collision box - Printable Version +- Forums (https://www.vdrift.net/Forum) +-- Forum: Project (https://www.vdrift.net/Forum/forumdisplay.php?fid=4) +--- Forum: Development (https://www.vdrift.net/Forum/forumdisplay.php?fid=9) +--- Thread: collision box (/showthread.php?tid=1026) |
collision box - alex25 - 12-03-2008 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-- - joevenzon - 12-03-2008 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. - joevenzon - 12-04-2008 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? - alex25 - 12-04-2008 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-- |