LM3ALLEM Posted August 9, 2022 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.
GreenSock Posted August 9, 2022 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
LM3ALLEM Posted August 10, 2022 Author 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.
Cassie Posted August 10, 2022 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!
Cassie Posted August 10, 2022 Posted August 10, 2022 See the Pen rNdrvRo?editors=0010 by GreenSock (@GreenSock) on CodePen. Animating to a different value, much better.
LM3ALLEM Posted August 10, 2022 Author 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
Solution Cassie Posted August 10, 2022 Solution 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.
LM3ALLEM Posted August 10, 2022 Author 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
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