I am trying to make a fixed joint.
Here I am using the user joint function:
joint.NewtonJoint=NewtonConstraintCreateUserJoint(parent.world.NewtonWorld,maxdof:Int,NewtonUserBilateralCallBack,NewtonUserBilateralGetInfoCallBack,child.NewtonBody,parent.NewtonBody)
Here are my callbacks:
Function NewtonUserBilateralCallBack(userJoint:Byte Ptr,timestep:Float,threadIndex:Int)
EndFunction
Function NewtonUserBilateralGetInfoCallBack(userJoint:Byte Ptr,info:Byte Ptr)
EndFunction
I have no idea how user joints work. Can someone with more experience explain how I use the callbacks to make a fixed joint?