Skip to main content

Entity::setQuaternion

w is the correct parameter name!

Syntax

```js entity.setQuaternion(x, y, z, w); ```

Required Arguments

  • x: float
  • y: float
  • z: float
  • w: float

Return value

  • Undefined

Example

```js // todo ```

See also