-
Notifications
You must be signed in to change notification settings - Fork 0
class_dampedspringjoint2d
reduz edited this page Feb 23, 2014
·
10 revisions
Inherits: Joint2D\n\n
Damped sprint constraint for 2D physics.
- void ** set_length ** ( real length )
- real ** get_length ** ( ) const
- void ** set_rest_length ** ( real rest_length )
- real ** get_rest_length ** ( ) const
- void ** set_stiffness ** ( real stiffness )
- real ** get_stiffness ** ( ) const
- void ** set_damping ** ( real damping )
- real ** get_damping ** ( ) const
Damped sprint constraint for 2D physics. This resembles a sprint joint that always want to go back to a given length.
- void ** set_length ** ( real length ) \ Set the maximum length of the sprint joint.
- real ** get_length ** ( ) const \ Return the maximum length of the sprint joint.
- void ** set_rest_length ** ( real rest_length ) \ Set the resting length of the sprint joint. The joint will always try to go to back this length when pulled apart.
- real ** get_rest_length ** ( ) const \ Return the resting length of the sprint joint. The joint will always try to go to back this length when pulled apart.
- void ** set_stiffness ** ( real stiffness ) \ Set the stiffness of the spring joint.
- real ** get_stiffness ** ( ) const \ Return the stiffness of the spring joint.
- void ** set_damping ** ( real damping ) \ Set the damping of the spring joint.
- real ** get_damping ** ( ) const \ Return the damping of the spring joint.