-
Notifications
You must be signed in to change notification settings - Fork 0
class_capsuleshape2d
reduz edited this page Feb 23, 2014
·
10 revisions
Inherits: shape2d\ Category: Core\
Capsule 2D shape resource for physics.
- void #set_radius( real radius )
- real #get_radius(****) const
- void #set_height( real height )
- real #get_height(****) const
Capsule 2D shape resource for physics. A capsule (or sometimes called "pill") is like a line grown in all directions. It has a radius and a height, and is often useful for modelling biped characters.
== set_radius ==
- void #set_radius( real radius ) \ Radius of the capsuleshape2d. == get_radius ==
- real #get_radius(****) const \ Return the radius of the capsuleshape2d. == set_height ==
- void #set_height( real height ) \ Height of the capsuleshape2d. == get_height ==
- real #get_height(****) const \ Return the height of the capsuleshape2d.