Using native bullet NullPointerException: The native object does not exist

This happens when I use particular functions eg:

setCcdMotionThreshold

as well as others.

Is there any solution other than going back to the old jbullet libraries? I’d prefer not to as I understand they are slower.

Never mind, this was an issue with the way I was creating the RigidBodyControl.