-
Notifications
You must be signed in to change notification settings - Fork 0
class_groovejoint2d
reduz edited this page Feb 23, 2014
·
10 revisions
#####Inherits: Joint2D
Groove constraint for 2D physics.
- void
set_length( real length ) -
real
get_length( ) const - void
set_initial_offset( real offset ) -
real
get_initial_offset( ) const
Groove constraint for 2D physics. This is useful for making a body "slide" through a segment placed in another.
- void
set_length( real length )
Set the length of the groove.
-
real
get_length( ) const
Return the length of the groove.
- void
set_initial_offset( real offset )
Set the initial offset of the groove on body A.
-
real
get_initial_offset( ) const
Set the final offset of the groove on body A.