Shape2DCollideAndGetContacts Method |
Returns a list of the points where this shape touches another. If there are no collisions the list is empty.
This method needs the transformation matrix for this shape (local_xform), the shape to check collisions with (with_shape), and the transformation matrix of that shape (shape_xform).
Namespace: Godot
public Array CollideAndGetContacts( Transform2D localXform, Shape2D withShape, Transform2D shapeXform )
[Missing <param name="localXform"/> documentation for "M:Godot.Shape2D.CollideAndGetContacts(Godot.Transform2D,Godot.Shape2D,Godot.Transform2D)"]
[Missing <param name="withShape"/> documentation for "M:Godot.Shape2D.CollideAndGetContacts(Godot.Transform2D,Godot.Shape2D,Godot.Transform2D)"]
[Missing <param name="shapeXform"/> documentation for "M:Godot.Shape2D.CollideAndGetContacts(Godot.Transform2D,Godot.Shape2D,Godot.Transform2D)"]
[Missing <returns> documentation for "M:Godot.Shape2D.CollideAndGetContacts(Godot.Transform2D,Godot.Shape2D,Godot.Transform2D)"]