• Welcome to Kart Racing Pro Official Forum. Please login or sign up.
 
September 19, 2019, 08:39:56 pm

News:

Kart Racing Pro release9b available! :)


How to make add on body work collidable and to fall off (Written Tutorial)

Started by Cory_Hayes, January 01, 2015, 05:20:15 pm

Previous topic - Next topic

Cory_Hayes

So, when you have your bodywork in 3ds max, what you are going to want to do is name:
The nosecone -    fbumper
The left side pod -   sidepodleft
The right side pod -  sidepodright
The rear bumper - rbumper

Doing that, will make them be able to fall off, but not collidable yet.

To make them "solid" You are going to have to go into the bodyworks " GEOM " file.
Scroll down and you will find this

coll
{
   fbumper
   {
      numboxes = 3
      box0 = 0, 0.11, 1.0, 0.4, 0.16, 0.12, 0, 0            ( the front barrier) 
      box1 = -0.35, 0.11, 0.9, 0.38, 0.16, 0.12, 0, 0.65 ( Not sure if left or right side, PiBoSo is going to have to clear this up for me)
      box2 = 0.35, 0.11, 0.9, 0.38, 0.16, 0.12, 0, -0.65 ( same as the above)

With Box1 and Box2 I haven't exactly perfected what each section ( section meaning  0, 0.11, 1.0, and so on) does yet. I have found that the first set of numbers ( which happens to be 0) in box0 is the very front collision barrier.
It trial and error kind of thing so far, it is unlikely you will get it right the first time, but I hope this helps    ;) :D ;D