Chipmunk2D Pro API Reference  6.1.5
 All Classes Functions Variables Typedefs Properties Groups Pages
Classes | Functions
cpSimpleMotor

Functions

cpSimpleMotor * cpSimpleMotorAlloc (void)
 Allocate a simple motor.
 
cpSimpleMotor * cpSimpleMotorInit (cpSimpleMotor *joint, cpBody *a, cpBody *b, cpFloat rate)
 initialize a simple motor.
 
cpConstraintcpSimpleMotorNew (cpBody *a, cpBody *b, cpFloat rate)
 Allocate and initialize a simple motor.
 

Detailed Description