Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help  Changing extruded renderer's material runtime
#1
Hello,

I have a logic where I need to change the ropes material during runtime. I tried setting obiRopeExtrudedRenderer.material = new Material(copyFrom); it looks like the material is changed in the component itself but it doesn't effect the renderer. I assume this is cached on start. Is there a way to do this?

Thanks
Reply


Messages In This Thread
Changing extruded renderer's material runtime - by aderae - 10-12-2024, 05:04 PM