I try rotate entity (not camera) with deviceOrientation. but only can do it with primary camera
Can you post a sample project that reproduces your issue, to take a look?
Hi, @Leonidas. I refer to the option new project vr of playcanvas. I was trying to associate the webvr script with an entity. but it can only be done with a camera by default.
The webvr scripts are meant to work with a camera only. If you are looking to rotate an entity using deviceOrientation you can use JS directly inside any script of yours.
Here is a useful post for you: