IssuesCategory: MagioMesh status check.
Mat asked 5 months ago

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 5 months ago

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,

Your Answer