Jump to content

Implement 'material' param to material editor that sets what material it is


Jdjd Gaming
 Share

Recommended Posts

This could be usefull for things like foot steps, so you could do something like in lua like this (posedo code not actually real code)
if material.getmaterial=(wood)

playsound(wood)

elseif material.getmaterial=(steel)

playsoundsteel

  • Like 1
Link to comment
Share on other sites

You can already set the surface property in a material file as described here!

The issue is how the physics system works in Ultra. Due to the brushes being a convex hull, getting the face is harder/not possible to do. We've had many discussions about this but it sounds like Josh doesn't want to touch the physics engine unless he has to. 

Cyclone - Ultra Game System - Component PreprocessorTex2TGA - Darkness Awaits Template (Leadwerks)

If you like my work, consider supporting me on Patreon!

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