SatShape
Index
Properties
center
Center of the shape in world space
id
normals
Outward normal for the side starting at each point, normals[i] belongs to side points[i] -> points[(i + 1) % length]
points
Points in local space (relative to transform), in perimeter order
transform
Transform from local space to world space
Minimal convex shape description the separating axis test and contact clipping operate on.
PolygonCollider and EdgeCollider (as a two-sided, two point "polygon") both satisfy this.