STATE_object_md3_connect_models

 

 


  Use for md3 models that come in several parts. For example: legs, torso and head
  The function connects the son_obj to the base_obj
  The given tag name should be included inside the base_obj model.
   Common tag names are "tag_torso", "tag_head", "tag_weapon"
  To check the tags that are included in a model, use STATE_object_md3_get_tag_name() and STATE_object_md3_get_number_of_tags()
   If you are too lazy to check you can also use STATE_object_md3_connect_models_automatic() which finds the tag automatically
   Example: 
  		STATE_object_md3_connect_models(lower, upper, "Tag_Torso");
  
  
   Imporant !
   ------------
   Note that the order is important. 
   STATE_object_md3_connect_models(lower, upper, "Tag_Torso"); would work fine but
   STATE_object_md3_connect_models(upper,lower  "Tag_Torso"); will fail (we changed the order to upper,lower)
   This is because how the tag information is stored inside the models.
  

 

 

Go to page 1      Select API

 

Copyright © 2007 3DSTATE Corporation. www.3dstate.com