yan_rez
Content Type
Profiles
Forums
Store
Blog
Product
Showcase
FAQ
Downloads
Posts posted by yan_rez
-
-
Thank you very much. This is exactly what I am looking for, and it works.
-
I would like to reverse the action on the button click.
-
-
ThreeJs object ration on an angle
in GSAP
Posted
How can I have an ThreeJS object rotate on an axis that is at angle.
Like from this codepen I made, the left square rotates on its center and moved up when you click on the "rotate up" button.
I want the left cure rotate along the red axis in the image attached and move along on that axis when click on the "Rotate 45 degree" button. I can make up move along the axis, but the rotation is wrong. How can I make the cute rotate along the red axis?
See the Pen MWpYggY by eforblue (@eforblue) on CodePen