easy attachobjecttoobject ???
#3

make sure the parent objects rotation is at 0,0,0 degrees, unless youll have trouble calculating the "relative" rotation of the attached object:
create object1, leave rotation at 0, and position best at a rounded value (like 1200.0,2000.0,10.0). then create object2 and move it until its aligned, including rotation.
since object1's rotation is 0, you dont need to calculate the attached objects rotation, just use object2's values. the position offset is the only one you need to calculate: OffsetPositionX=ObjectBPositionX-ObjectAPositionX, same for Y and Z indeed ^^
Reply


Messages In This Thread
easy attachobjecttoobject ??? - by AIped - 27.05.2013, 11:09
Re: easy attachobjecttoobject ??? - by Vince - 27.05.2013, 12:05
Re: easy attachobjecttoobject ??? - by Babul - 27.05.2013, 12:08
Re: easy attachobjecttoobject ??? - by AIped - 27.05.2013, 13:43

Forum Jump:


Users browsing this thread: 1 Guest(s)