Page 1 of 1
Shifting a scene in 3D using translate/rotate
Posted: Thu Apr 08, 2021 9:57 pm
by Zetboi
Are there any guides on how to shift perspective on a 3D model on input, for example on a cube, making it turn to a new face/side on every input you give it using rotate/translate?
I could imagine it would be of help to make use of the Hold modifier on this.
PS: Not sure of double post.
Re: Shifting a scene in 3D using translate/rotate
Posted: Fri Apr 09, 2021 10:36 am
by Sadler
This is fairly simple. Use a trigger on the source of (say) Y rotation. As a trigger increments by one (360 degrees) scale it by the angle you want - 0.25 for a cube. Since the cube will rotate 90 degrees instantly, you won't see the rotation until you add some smoothing.
Re: Shifting a scene in 3D using translate/rotate
Posted: Sun Apr 11, 2021 1:44 am
by Zetboi
Sadler wrote:This is fairly simple. Use a trigger on the source of (say) Y rotation. As a trigger increments by one (360 degrees) scale it by the angle you want - 0.25 for a cube. Since the cube will rotate 90 degrees instantly, you won't see the rotation until you add some smoothing.
Well, not just rotate by input, that's simple, but holding the angle until the input hits again to whatever you have the current angle set to, then adding another 0.25 for the next face, and so on.
So the cube would essentially start off as 0, then when input hits, it will rotate 0.25, then hold the current value (0.25) until input hits again, adding another 0.25 to 0.50.
But yeah, you can get something quite expressive out of just rotate by input..
Re: Shifting a scene in 3D using translate/rotate
Posted: Sun Apr 11, 2021 2:22 am
by Zetboi
Re: Shifting a scene in 3D using translate/rotate
Posted: Sun Apr 11, 2021 11:09 pm
by Zetboi