Constructors
Functions
Link copied to clipboard
Generates an AABB encompassing the polygon and binds it to the body.
Link copied to clipboard
Method to check if point is inside a body in world space.
Link copied to clipboard
open override fun rayIntersect(startPoint: Vec2, endPoint: Vec2, maxDistance: Double, rayLength: Double): Shape.IntersectionReturnElement
Content copied to clipboard
Checks if a ray intersects with the shape.