LM3ALLEM Posted August 9, 2022 Share Posted August 9, 2022 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 Link to comment Share on other sites More sharing options...
GreenSock Posted August 9, 2022 Share Posted August 9, 2022 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 Link to comment Share on other sites More sharing options...
LM3ALLEM Posted August 10, 2022 Author Share Posted August 10, 2022 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. Link to comment Share on other sites More sharing options...
Cassie Posted August 10, 2022 Share Posted August 10, 2022 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! Link to comment Share on other sites More sharing options...
Cassie Posted August 10, 2022 Share Posted August 10, 2022 See the Pen rNdrvRo?editors=0010 by GreenSock (@GreenSock) on CodePen Animating to a different value, much better. Link to comment Share on other sites More sharing options...
LM3ALLEM Posted August 10, 2022 Author Share Posted August 10, 2022 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 Link to comment Share on other sites More sharing options...
Solution Cassie Posted August 10, 2022 Solution Share Posted August 10, 2022 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. Link to comment Share on other sites More sharing options...
LM3ALLEM Posted August 10, 2022 Author Share Posted August 10, 2022 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 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now