Summary

A generic way to represent volumes in a scene. If we all end up using this instead of defining our own version in everything, we can improve this and improve everything at the same time.

Fields

Box
Sphere
Type

Methods

DrawGizmos
GetVolume Get the actual amount of volume in this shape. This is useful if you want to make a system where you prioritize by volume size. Don't forget to multiply by scale!
Test
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.