03.02.2012, 05:41
if you attach an object, the potition and rotation is RELATIVE to the first object (parent), so its the best way to map it how you want, then subtract the position ship from position ship2 (rotation too, but you can do that later):
do that math now:
15-10=5
8-20=-12
0-0=0
..so your offset to attach ship1 to ship, is 5.0, -12.0, 0.0
Код:
position x y and z: ship: 10.0 20.0 0.0 ship2: 15.0 08.0 0.0
15-10=5
8-20=-12
0-0=0
..so your offset to attach ship1 to ship, is 5.0, -12.0, 0.0