that command doesnt exist
[edit]
Is there something wrong with this code ?
e the right Foot bone!
Col = NDB_NewtonCreateCapsule( 0.6*size#, 2.5*size# )
`this matrix is a local matrix, in relation to the parent bone!
NDB_BuildMatrix 0.0, 90.0, 0.0, 6.0*size#, 0.0, 0.0
NDB_SetVector 1, 2.5*size#, 1.6*size#, 1.6*size#
RFoot = NDB_NewtonRagDollAddBone( RagDoll, RLeg2, Col, mass#/11.0 )
NDB_BuildMatrix 0.0, 90.0, 0.0, 6.0*size#, 0.0, 0.0
NDB_RagDollBoneSetOffset RFoot
NDB_SetVector 1, 0.0,-90.0,0.0
NDB_NewtonRagDollBoneSetLimits RFoot,10.0,60.0,10.0
NDB_RagDollBoneSetDBProData RFoot, gube, 8
NDB_RagDollSetGravity RagDoll, 1
`okay, we're done with the ragdoll!
NDB_NewtonRagDollEnd RagDoll
` NDB_SetVector 1, 0.0,90.0,0.0
` UpvectorJoint=NDB_NewtonConstraintCreateUpVector (gube)
endfunction