Shape2D

Inherits: Resource < RefCounted < Object

Inherited By: CapsuleShape2D, CircleShape2D, ConcavePolygonShape2D, ConvexPolygonShape2D, RectangleShape2D, SegmentShape2D, SeparationRayShape2D, WorldBoundaryShape2D

There is currently no description for this class. Please help us by contributing one!

Properties

float

custom_solver_bias

0.0

Methods

bool

collide ( Transform2D local_xform, Shape2D with_shape, Transform2D shape_xform )

PackedVector2Array

collide_and_get_contacts ( Transform2D local_xform, Shape2D with_shape, Transform2D shape_xform )

bool

collide_with_motion ( Transform2D local_xform, Vector2 local_motion, Shape2D with_shape, Transform2D shape_xform, Vector2 shape_motion )

PackedVector2Array

collide_with_motion_and_get_contacts ( Transform2D local_xform, Vector2 local_motion, Shape2D with_shape, Transform2D shape_xform, Vector2 shape_motion )

void

draw ( RID canvas_item, Color color )

Rect2

get_rect ( ) const


Property Descriptions

float custom_solver_bias = 0.0

  • void set_custom_solver_bias ( float value )

  • float get_custom_solver_bias ( )

There is currently no description for this property. Please help us by contributing one!


Method Descriptions

bool collide ( Transform2D local_xform, Shape2D with_shape, Transform2D shape_xform )

There is currently no description for this method. Please help us by contributing one!


PackedVector2Array collide_and_get_contacts ( Transform2D local_xform, Shape2D with_shape, Transform2D shape_xform )

There is currently no description for this method. Please help us by contributing one!


bool collide_with_motion ( Transform2D local_xform, Vector2 local_motion, Shape2D with_shape, Transform2D shape_xform, Vector2 shape_motion )

There is currently no description for this method. Please help us by contributing one!


PackedVector2Array collide_with_motion_and_get_contacts ( Transform2D local_xform, Vector2 local_motion, Shape2D with_shape, Transform2D shape_xform, Vector2 shape_motion )

There is currently no description for this method. Please help us by contributing one!


void draw ( RID canvas_item, Color color )

There is currently no description for this method. Please help us by contributing one!


Rect2 get_rect ( ) const

There is currently no description for this method. Please help us by contributing one!