Edge is a single line collider to create collisions with a single line.
Pixel offset of the collision collider relative to the collider, by default (0, 0) meaning the collider is positioned on top of the collider.
Get the axis associated with the edge
Get the axis aligned bounding box for the edge collider in world space
Get the center of the collision area in world coordinates
Get the axis aligned bounding box for the edge collider in local space
Returns this edge represented as a line in world coordinates
Return this edge as a line in local line coordinates (relative to the position)
Returns a clone of this Edge, not associated with any collider
Tests if a point is contained in this collision area
Get the moment of inertia for an edge https://en.wikipedia.org/wiki/List_of_moments_of_inertia
Returns the length of the line segment in pixels
Returns the slope of the line in the form of a vector
Updates collider world space geometry