⚠ Preview docs — built from the develop branch and may be unstable. Go to the stable docs.

SpatialComponent.Polygon

static SpatialComponent Polygon

Description

A 2D boundary polygon outlining the entity’s surface. In C, the vertex pointer from spatial_entity_get_polygon is only valid until the next frame, so copy it to keep it longer.




Found an issue with these docs, or have some additional questions? Create an Issue on Github!