As you can see, I want to freeze Rotation both X and Z, but I cant find a way to combine two constraint into one constraint, list or array and so on. How can I solve it?
Thanks for your reply!
ye i see you cant choose both methods/it something related to enums.
i tried to create null with rigidbody with x and z checked and transfer its data to another object and it shows integer 80/ but if i connect integer it is an error. so you need to wait somebody more expirienced who can tell or show what to do / or you can use rude method and create null in assets with x and z checked and get its data and apply to object in game
it was answer for standart scripting but dont know how to implement https://answers.unity.com/questions/1093545/freeze-rigidbody.html
I have just added some new nodes related to enum bitwise operations and attached the modified file for you here.
You will be able to find the “OR”, “AND” and “INVERT” operators under the “Functions/Implemented/Operators/Flags” category. With the “OR” operator you will now be able to combine two different RigidbodyContraints (in your case) into one.