CollisionShape2D

CollisionShape2D is the base 2D collision shape node.

Function Description
init() Initializes as a Node2D collision shape.
Property Description
position Local position inherited from Node2D.
rotation Local rotation inherited from Node2D.
z_index Render ordering inherited from Node2D.