Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Shared Track Objects
03-27-2011, 03:58 PM,
#52
 
Hull, box and compound shapes are in trunk. Try to get stuck below the trailer with the F1-02. I haven't had time to fully test it. If you run into issues report.

trackparts/vehicles/trucks/trailer:
Code:
texture = trailer_red.png
model = trailer.joe
mass-center = 0.0, -4.5, 2.25
mass = 3000

[shape.box.container]
center = 0.0, -4.47, 2.45
size = 2.36, 10.98, 2.7

[shape.box.wheels]
center = 0.0, -8.02, 0.56
size = 2.36, 2.21, 1.1

[shape.box.gear]
center = 0.0, -1.85, 0.56
size = 1.38, 0.18, 1.1

#[shape.hull.trailer]
#0 = -1.176580, -6.594260, 0.324940
#1 = 1.183840, -9.965520, 0.324940

The box values have been retrieved using scaled cube shapes in blender. It should be possible to mix hulls with boxes (haven't tested it though).

Quote:would that be useful performance wise?
The performance depends on the number of vertices for hull and on the number of child shapes for the compound. They should be as few as possible. Box shapes should be always faster than hulls (haven't verified it).

I think I could use the same fracture code for compound track objects as for the cars to make them break (if I ever get to finish it).
Reply


Messages In This Thread
Shared Track Objects - by zimluura - 02-11-2011, 11:30 AM
[No subject] - by charlieg - 02-12-2011, 09:01 PM
[No subject] - by NaN - 02-14-2011, 02:02 PM
[No subject] - by zimluura - 02-14-2011, 04:46 PM
[No subject] - by NaN - 02-15-2011, 05:51 AM
[No subject] - by zimluura - 02-15-2011, 02:42 PM
[No subject] - by NaN - 02-15-2011, 03:43 PM
[No subject] - by zimluura - 02-15-2011, 05:44 PM
[No subject] - by joevenzon_phpbb2_import3 - 02-17-2011, 11:37 AM
[No subject] - by zimluura - 02-17-2011, 07:01 PM
[No subject] - by joevenzon_phpbb2_import3 - 02-17-2011, 11:05 PM
[No subject] - by NaN - 02-22-2011, 05:54 PM
[No subject] - by NaN - 02-22-2011, 06:04 PM
[No subject] - by alex25 - 02-22-2011, 06:42 PM
[No subject] - by alex25 - 02-22-2011, 06:48 PM
[No subject] - by NaN - 02-22-2011, 07:17 PM
[No subject] - by alex25 - 02-22-2011, 07:49 PM
[No subject] - by NaN - 02-22-2011, 08:17 PM
[No subject] - by joevenzon_phpbb2_import3 - 02-22-2011, 11:42 PM
[No subject] - by alex25 - 02-23-2011, 09:32 AM
[No subject] - by NaN - 02-23-2011, 11:48 AM
[No subject] - by joevenzon_phpbb2_import3 - 02-24-2011, 12:14 AM
[No subject] - by NaN - 02-24-2011, 10:50 AM
[No subject] - by joevenzon_phpbb2_import3 - 02-24-2011, 10:54 PM
[No subject] - by NaN - 02-26-2011, 08:32 AM
[No subject] - by joevenzon_phpbb2_import3 - 02-26-2011, 01:40 PM
[No subject] - by NaN - 02-26-2011, 02:10 PM
[No subject] - by joevenzon_phpbb2_import3 - 02-26-2011, 05:19 PM
[No subject] - by NaN - 02-26-2011, 06:42 PM
[No subject] - by joevenzon_phpbb2_import3 - 02-27-2011, 03:52 PM
[No subject] - by NaN - 03-01-2011, 03:57 PM
[No subject] - by nomoo - 03-01-2011, 05:04 PM
[No subject] - by NaN - 03-01-2011, 05:24 PM
[No subject] - by nomoo - 03-01-2011, 05:32 PM
[No subject] - by NaN - 03-01-2011, 06:05 PM
[No subject] - by nomoo - 03-02-2011, 02:35 AM
[No subject] - by zimluura - 03-02-2011, 04:36 AM
[No subject] - by NaN - 03-02-2011, 07:50 AM
[No subject] - by zimluura - 03-03-2011, 06:40 PM
[No subject] - by NaN - 03-03-2011, 09:14 PM
[No subject] - by zimluura - 03-03-2011, 09:16 PM
[No subject] - by zimluura - 03-06-2011, 12:08 AM
[No subject] - by NaN - 03-06-2011, 12:17 AM
[No subject] - by NaN - 03-10-2011, 06:12 PM
[No subject] - by zimluura - 03-12-2011, 05:50 AM
[No subject] - by NaN - 03-12-2011, 06:34 PM
[No subject] - by NaN - 03-17-2011, 10:08 AM
[No subject] - by joevenzon_phpbb2_import3 - 03-17-2011, 10:37 AM
[No subject] - by NaN - 03-26-2011, 08:36 PM
[No subject] - by zimluura - 03-26-2011, 10:02 PM
[No subject] - by NaN - 03-27-2011, 03:58 PM

Forum Jump:


Users browsing this thread: 3 Guest(s)