Hi,
How can i access the locked rotation property of collider through script ?
Thanks,
Hi,
How can i access the locked rotation property of collider through script ?
Thanks,
I don’t think that is available.
thank, is there any way i can do it from script ?
Not at the moment. (Theoretically you could read the angular velocity and counter that but I don’t think that will be easy.)
What is your use case here?
We’re talking about this property right?
As @sicher said it is currently not possible. One idea would be to have two collision components, one with locked rotation and one without, and enable and disable based on which state you need.
@britzl That is a good idea. I will try on that. Thank you