IssuesCategory: MagioMesh status check.
Mat asked 3 weeks ago

Hello.
I have a question, if we have some mesh and add to it some effect (for example flame) that spreads. Is it possible to check in some percentage the effect is spread on the given mesh ?
 
Thank you and best regards.

1 Answers
Thomas Staff answered 3 weeks ago

Hello,
 
Unfortunately it is not possible out of the box. However you could calculate it with calculating a intersection between the spread and mesh bounds. The effects are always spread in a sphere and the spread can be accessed with MagioObjectEffect->effectSpread and it is always in meters / same units. So you can approximate the percentage by calculating intersection of the mesh bounds and the spreading sphere 🙂 Or calculate approximate percentage some other way. Hope this helps!
 
All the best,
Thomas

Your Answer