Playmaker Forum
PlayMaker Feedback => Action Requests => Topic started by: westingtyler on September 08, 2018, 11:42:52 AM
-
I need to set the player game object's material to something different when too close to the camera. But the player might swap characters/models, and some will have many materials on them like skin, hair, etc.
I need to save all materials on a game object into a material array, in order, and I figured a "get material count" would be the best way to establish how many loops to do?
-
Hi,
Is that not the job of the LOD system?
Anyhow, I just did the action, it's now on the Ecosystem: getMaterials so you don't need to get them manually, it's just directly stored in an FsmArray.
Let me know if that's ok for you.
Bye,
Jean