What is the syntax used here?
;coll
;{
; chassis
; {
; numboxes = 5
; box0 = 0, 0.35, 0.02, 1.8, 0.7, 3.26, 0, 0 ; main
; box1 = 0, 0.26, 1.8, 1, 0.5, 0.4, 0, 0 ; front bumper
; box2 = 0, 0.53, -1.65, 1.1, 0.7, 0.6, 0, 0 ; rear bumper
; box3 = 0, 1.17, -0.67, 1.1, 0.1, 1.85, 0.0, 0 ; roof
; box4 = 0, 1.25, 0.02, 0.5, 0.1, 0.5, -0.2, 0 ; roof air-intake
; }
;}
it's for collision
Hi,
Quote from: Yohji on February 16, 2016, 08:12:42 AM
it's for collision
;D
box0 = 0, 0.35, 0.02, 1.8, 0.7, 3.26, 0, 0
-->
"0": position (left/right)
"0.35": position (up/down)
"0.02": position (front/rear)
"1.8": width
"0.7": height
"3.26": length
not sure about the last two values, but I think it's the rotation of the box.
Quote from: Obelix90 on February 16, 2016, 10:38:11 AM
Hi,
Quote from: Yohji on February 16, 2016, 08:12:42 AM
it's for collision
;D
Or for boxes ;D
Quote from: Obelix90 on February 16, 2016, 10:38:11 AM
not sure about the last two values, but I think it's the rotation of the box.
If I recall correctly, BikeEd shows the collisions boxes/spheres, should be easy to check that.
Quote from: Obelix90 on February 16, 2016, 10:38:11 AM
Hi,
box0 = 0, 0.35, 0.02, 1.8, 0.7, 3.26, 0, 0
-->
"0": position (left/right)
"0.35": position (up/down)
"0.02": position (front/rear)
"1.8": width
"0.7": height
"3.26": length
not sure about the last two values, but I think it's the rotation of the box.
Thank you!