Finished documentation
Finished documentation on sprite physics and joints Fixed some bugs in sprite physics Added safety checks for joint types Added code to free up joints when a canvas is destroyed
This commit is contained in:
@@ -1,12 +1,12 @@
|
||||
function createDistanceJoint( spriteA, spriteB, aX, aY, bX, bY)
|
||||
function createFrictionJoint( spriteA, spriteB, x, y)
|
||||
function createGearJoint( jointA, jointB, g_ratio)
|
||||
function createMotorJoint( spriteA, spriteB)
|
||||
function createPrismaticJoint( spriteA, spriteB, aX, aY, axisX, axisY)
|
||||
function createPulleyJoint( spriteA, spriteB, gaX, gaY, gbX, gbY, aX, aY, bX, bY, j_ratio)
|
||||
function createRevoluteJoint( spriteA, spriteB, x, y)
|
||||
function createWeldJoint( spriteA, spriteB, x, y)
|
||||
function createWheelJoint( spriteA, spriteB, aX, aY, axisX, axisY)
|
||||
function createDistanceJoint( spriteA, spriteB, aX, aY, bX, bY, collide_connect)
|
||||
function createFrictionJoint( spriteA, spriteB, x, y, collide_connect)
|
||||
function createGearJoint( jointA, jointB, g_ratio, collide_connect)
|
||||
function createMotorJoint( spriteA, spriteB, collide_connect)
|
||||
function createPrismaticJoint( spriteA, spriteB, aX, aY, axisX, axisY, collide_connect)
|
||||
function createPulleyJoint( spriteA, spriteB, gaX, gaY, gbX, gbY, aX, aY, bX, bY, j_ratio, collide_connect)
|
||||
function createRevoluteJoint( spriteA, spriteB, x, y, collide_connect)
|
||||
function createWeldJoint( spriteA, spriteB, x, y, collide_connect)
|
||||
function createWheelJoint( spriteA, spriteB, aX, aY, axisX, axisY, collide_connect)
|
||||
sub getJointWorldAnchorA( joint_id, ByRef x, ByRef y)
|
||||
sub getJointWorldAnchorB( joint_id, ByRef x, ByRef y)
|
||||
sub getJointReactionForce( joint_id, inv_dt, ByRef x, ByRef y)
|
||||
@@ -65,3 +65,4 @@ sub setJointOrigin( joint_id, x, y)
|
||||
function getJointAngle( joint_id)
|
||||
function getJointLinearSpeed( joint_id)
|
||||
function getJointAngularSpeed( joint_id)
|
||||
Sub DeleteJoint( joint_id )
|
||||
|
||||
Reference in New Issue
Block a user