Scripting

Search The Documentation:

  1. Home
  2. Docs
  3. Scripting
  4. Rigidbody
  5. useGravity

useGravity

Platform Compatibility

PC Mac OSX Oculus Quest
X X X

Tell rigidbody if gravity affects it or not

Parameters:

  • _tf
    • A boolean value

Example:

1
obj.useGravity(_tf)
Tags
Was this article helpful to you? Yes No

How can we help?