Jump to content

[SOLVED] Modify objectMeshClutter mesh


photo

Recommended Posts

Hi all,

I'm trying to change the appearance of a clutter in real time,

what is the best way to do this in unigineScript?

load a new mesh and material for the surface?

Thank you!

Link to comment

Hi, Yraida!

 

I assume you're using Unigine 2.0 here.

 

Just use ObjectMeshClutter::setMesh method and then set up your mesh surfaces (material, property, visible & fade distances) as you do with ObjectMeshStatic.

Link to comment
×
×
  • Create New...