S
S
Sergey2017-05-04 12:02:04
JavaScript
Sergey, 2017-05-04 12:02:04

A-Frame how to set the rotation to the object using the setAttribute method?

The setAttribute method for the rotation property does not work. For the position property, everything is fine - the object is positioned.

car.setAttribute('position', { x: 0, y: 0.560, z: 5 });

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question