manage different kinds of joint in PhysicsResource
improve Joints