Volume or area?

Can I calculate volume or area from cube in bge?

If it is a cube, you’ve two options. Assuming that you have not applied scale and it is a unit cube, then use the world scale attribute for the dimensions. Otherwise use the worldScale * the position of each vertex (v. Co) and use that to work out the min and max coordinate for each axis. Then simply multiply them together and take the absolute value.

Sent from my Nexus 7 using Tapatalk HD

thanks :wink:
Anyone can show me example file?