Shape2D.collideWithMotionAndGetContacts

Returns a list of the points where this shape would touch another, if a given movement was applied. If there are no collisions the list is empty. This method needs the transformation matrix for this shape (local_xform), the movement to test on this shape (local_motion), the shape to check collisions with (with_shape), the transformation matrix of that shape (shape_xform), and the movement to test onto the other object (shape_motion).

struct Shape2D
@nogc nothrow
Array
collideWithMotionAndGetContacts
(
in Transform2D local_xform
,
in Vector2 local_motion
,,
in Transform2D shape_xform
,
in Vector2 shape_motion
)

Meta