Jump to content

Gamelid, getting materials used by a mesh


Chiblue
 Share

Recommended Posts

I am using gamelib and would like to get the materials being used by a faces on a mesh, I want to load all meshed and create impact options for each material. Is there a way to do this using the entity creating within the process scene function in Gamelib.. or if not another way to do this.

 

I could add a LUA value to the class supporting the object for the imapct data I want to use, but I would to get the actual data from the mesh so I can create a more accurate impact resolution.

If it's not Tactical realism then you are just playing..

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...