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.
Shifting a scene in 3D using translate/rotate
Re: Shifting a scene in 3D using translate/rotate
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
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.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.
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
I did it!
A step modifier did the trick!
https://i.gyazo.com/7a31a1903418051fc0d ... a635fb.mp4
https://i.gyazo.com/07069d318c5ff49308b ... a8f901.png
Gonna reply with the 3D on an actual cube when i wake up again.
A step modifier did the trick!
https://i.gyazo.com/7a31a1903418051fc0d ... a635fb.mp4
https://i.gyazo.com/07069d318c5ff49308b ... a8f901.png
Gonna reply with the 3D on an actual cube when i wake up again.

Re: Shifting a scene in 3D using translate/rotate
So here's the final example, pretty straight forward
https://i.gyazo.com/d65752e68894611aada ... 49b763.mp4
Patch:
https://i.gyazo.com/e371cb9682e4b514098 ... 435f3d.png
Using Globals:
https://i.gyazo.com/6d175ce5ff57d2383cb ... d5d3b3.png
Still need to figure out how to make input work as intended but it's mostly there
https://i.gyazo.com/d65752e68894611aada ... 49b763.mp4
Patch:
https://i.gyazo.com/e371cb9682e4b514098 ... 435f3d.png
Using Globals:
https://i.gyazo.com/6d175ce5ff57d2383cb ... d5d3b3.png
Still need to figure out how to make input work as intended but it's mostly there
