Scripting

Search The Documentation:

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

setAngularDrag

Platform Compatibility

PC Mac OSX Oculus Quest
X X X

Set the rotation drag of rigidbody

Parameters:

  • drag
    • A float value

Example:

1
obj.setAngularDrag(drag)
Tags
Was this article helpful to you? Yes No

How can we help?