In docs there's // Disable rotation around the Y axis rigidBody->setAngularAxisFactor(); But there's no such function. There's rigidBody->setAngularLockAxisFactor();
In docs there's
// Disable rotation around the Y axis
rigidBody->setAngularAxisFactor();
But there's no such function.
There's
rigidBody->setAngularLockAxisFactor();