PDA

View Full Version : Rigidbody component doesn't properly update



MoreThanTom
03-01-2019, 10:53 AM
obj.setComponentVar("Rigidbody", "useGravity", false)
print(obj.getComponentVar("Rigidbody", "useGravity"))


Outputs false, however only the value set in Right Click > Physics > Use Gravity is actually respected. It would be good if the api method instead updated the value in the UI