# scrolltriger Camera rotates 7 times around its axis THREE.JS

Go to solution Solved by Cassie,

## Recommended Posts

Hello, tommorow I should show this gallery to some important people.
The problem is, why on trigger 4 camera rotates 7 times around its axi?
how can I solve it?

See the Pen jOzpVYd by lucas23456 (@lucas23456) on CodePen

##### Share on other sites

Because you set things up to rotate from 9.5 to -11 radians which is 1174.56348 degrees which is over 3 full rotations.

• 1
##### Share on other sites

11 hours ago, GreenSock said:

Because you set things up to rotate from 9.5 to -11 radians which is 1174.56348 degrees which is over 3 full rotations.

I set -11 because the camera should be looking at the wall with pictures.

##### Share on other sites

Sounds like you need to spin around 3x less, maybe tween from 9.5 to around 2.5 radians.

Just pop in some different values and see!

##### Share on other sites

See the Pen rNdrvRo?editors=0010 by GreenSock (@GreenSock) on CodePen

Animating to a different value, much better.

##### Share on other sites

10 minutes ago, Cassie said:

I need when trigger 4 ends camera should rotate to black and white picture.
When I put y: -11 its looking at right picture but its making 3 rotates around its axis and thats wrong..
I dont know how to solve it
And thanks in advance

##### Share on other sites

• Solution

There's only 20 values to try in between 9.5 and -11 - Even if you just try one by one it'll only take a few minutes of trial and error to find the right one.

##### Share on other sites

26 minutes ago, Cassie said:

There's only 20 values to try in between 9.5 and -11 - Even if you just try one by one it'll only take a few minutes of trial and error to find the right one.

Thanks! I will try

## Create an account or sign in to comment

You need to be a member in order to leave a comment

## Create an account

Sign up for a new account in our community. It's easy!

Register a new account