InterfacesPolygonColliderOptionsOn this pagePolygonColliderOptions Index PropertiesoffsetpointssuppressConvexWarningProperties optionaloffsetoffset?: VectorPixel offset relative to a collider's body transform position.pointspoints: Vector[]Points in the polygon in order around the perimeter in local coordinates. These are relative from the body transform position. Must be at least 3 pointsoptionalsuppressConvexWarningsuppressConvexWarning?: booleanSuppresses convexity warning
Pixel offset relative to a collider's body transform position.