Archived

This topic is now archived and is closed to further replies.

Any model-to-model attachment position..

This topic is 5978 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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..

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
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!

Share this post


Link to post
Share on other sites