No rotation constraint to arc rotate camera doesn't work

Hello everyone,
I’m trying to make an ArcRotateCamera rotate without constraint on the x axis, cause i want the object to keep rotating without any limits.

I’ll link a simple playground example.

I used noRotationConstraint = true; but it doesn’t affect it even though that kind of camera accept that property.
In my project i’m using an ArcRotateCamera generated by a CreateDefaultCamera, I tried also with an arcRotate not generated by it, but it still doesn’t work.
Isn’t noRotationConstraint supposed to avoid limitation on the rotation?
Maybe i’m using a wrong property.

Do you know how to achieve this, if there’s a way to do it?
Thank you very much.

Try the upperBetaLimit and lowerBetaLimit properties

1 Like

Thank you so much Michael! It works now. Sorry to bother, but what does noRotationConstraint does, then?

Documentation on Class here ArcRotateCamera - Babylon.js Documentation
I am not familiar with that property but it seems it may not be working as expected from the description in Class documentation.

1 Like

Yep this is an inherited property that has no effect on arcRotateCamera


thank you, good to know!

1 Like