Scripting

Search The Documentation:

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

getMass

Platform Compatibility

PC Mac OSX Oculus Quest
X X X

Get the mass of rigidbody

returns a Float (decimal number) value

Example:

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

How can we help?