I''ve been wandering how to attach one model to another (for example, md2).. In Q1/Q2 etc they have models of players /models of weapons, and model/weapon is the part I''m interested in. How to determine the place where to attach a model and how (somehow) make them move independantly like turrets on Homeworld''s ships... Please help, its very important for me, or at least show the link to similar resource/question..
Any model-to-model attachment position..
1 reply to this topic
Posted 04 September 2001 - 10:16 AM
the only reason i reply is that ill get the problem myself! in a model, you just need to specifiy the point where to attach an the direction! the attachment uses the models matrix, transformed by the attaching coordinates! hope you know what i mean! to let these turrets rotate, rotate them after the ai calculus! include that rotation to the attachment matrix so youll finaly get: model-matrix*attachmentposmatrix*aigenerated rotation! hope this helps!