Scripting

Search The Documentation:

  1. Home
  2. Docs
  3. Scripting
  4. Object Data
  5. setQuaternion

setQuaternion

Platform Compatibility

PC Mac OSX Oculus Quest
X X X

Set Quaternion of object in w,x,y,z

Parameters:

  • index
    • An integer value
  • quat
    • A string value

Example:

1
obj.setQuaternion(index, quat)
Tags
Was this article helpful to you? Yes No

How can we help?