forked from godotengine/godot
-
Notifications
You must be signed in to change notification settings - Fork 0
class_shape2d
reduz edited this page Nov 14, 2014
·
12 revisions
####Inherits: Resource ####Category: Core
Base class for all 2D Shapes.
- void set_custom_solver_bias ( float bias )
- float get_custom_solver_bias ( ) const
- bool collide ( Matrix32 local_xform, Shape2D with_shape, Matrix32 shape_xform )
- bool collide_with_motion ( Matrix32 local_xform, Vector2 local_motion, Shape2D with_shape, Matrix32 shape_xform, Vector2 shape_motion )
- void collide_and_get_contacts ( Matrix32 local_xform, Shape2D with_shape, Matrix32 shape_xform )
- void collide_with_motion_and_get_contacts ( Matrix32 local_xform, Vector2 local_motion, Shape2D with_shape, Matrix32 shape_xform, Vector2 shape_motion )
Base class for all 2D Shapes. All 2D shape types inherit from this.
- void set_custom_solver_bias ( float bias )
Use a custom solver bias. No need to change this unless you really know what you are doing.
- float get_custom_solver_bias ( ) const
Return the custom solver bias. No need to change this unless you really know what you are doing.