Shape2D.collideWithMotion

Return whether this shape would collide with another, if a given movement was applied. 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
bool
collideWithMotion
(
in Transform2D local_xform
,
in Vector2 local_motion
,,
in Transform2D shape_xform
,
in Vector2 shape_motion
)

Meta