Scripting

Search The Documentation:

  1. Home
  2. Docs
  3. Scripting
  4. Transforms
  5. lookAt

lookAt

Platform Compatibility

PC Mac OSX Oculus Quest
X X X

Make one object look at another

Parameters:

  • indexA
    • An integer value
  • indexB
    • An integer value

Example:

1
obj.lookAt(indexA, indexB)
Tags
Was this article helpful to you? Yes No

How can we help?