Archived

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

HellRiZZer

Any model-to-model attachment position..

Recommended Posts

HellRiZZer    308
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   
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