MarcinusX / drawer_challenge

203 stars 72 forks source link

Can't seem to understand how to have guitar move in 3d as well #1

Open me-abhishekpal opened 4 years ago

me-abhishekpal commented 4 years ago

I tried with combination transform and rotate and other with Elevation card as well. something like this : https://dribbble.com/shots/4811613-3D-Product-Swipe Nothing seems to be working. Also, if you see closely, the center of rotation at the bottom is somwhow it does not show the 3d effect in the left but only opening of the door kind of effect.

Marcin can you please help ?

MarcinusX commented 4 years ago

But what do you need help with?

me-abhishekpal commented 4 years ago

Thanks Marcin for replying.

Sorry, did not give you details.

So, I tried creating the guitar effect by using a card to which I gave an elevation of 20.0 but when I am sliding from the left to open the drawer, it is still flat attached to the page plane not elevated at all.

I tried combination of transform and rotate but did not work. I want to know how can I levitate the objects to an elevation of my choice. how can I have 3d models like guitar and mouse in these mockps. I know its not going to be easy but can't seem to find a starting point !

Thanks again for replying.

Looking forward for a response.

MarcinusX commented 4 years ago

I would go with TransformZ instead of elevation at start, but you do know, that if you rotate an image it will be still 2D, right? I mean, you cant see the side of the mouse/guitar either way.

me-abhishekpal commented 4 years ago

It does make sense. Thank you for your suggestion. Please let me know in case you have another idea about it! Much appreciated.