I have found another problem...
All I'm doing is creating a cube mesh and passing that into the function. Now the problem is RB spheres now pass into the Bar01...
Why?
cube = CreateCube() TOK_CreateRBCube("Bar01",cube,Px#,Py#,Pz#-3,0,0,0,10,1,1,Mass,"",255,255,255,1,0) TOK_CreateJoint("Axis01",1,"Bar01","Bar01",Px#,Py#,Pz#,0,90,0,1,JointType1,100,0,0)
All I'm doing is creating a cube mesh and passing that into the function. Now the problem is RB spheres now pass into the Bar01...
Why?