"Set Enable Gravity" Does nothing.

I have tried different ways of getting it to work, including moving the function under the construct script, but nothing.

I know it runs, because of the breakpoint.