Skip to main content
17 events
when toggle format what by license comment
Nov 19, 2023 at 22:39 comment added John Nyquist PS: Adding a little easing will make the effect even more real.
Nov 19, 2023 at 22:37 comment added John Nyquist You're welcome! It was fun to help. Often things are obvious after the fact, but not so much beforehand. :-)
Nov 19, 2023 at 22:31 comment added PKCLsoft Gosh that was so obvious, and it's a very simple solution. Thank you.
Nov 19, 2023 at 22:30 vote accept PKCLsoft
Nov 18, 2023 at 22:30 comment added John Nyquist I think I understand what you mean. I updated my answer and put a small dot on the art so you can see the spin. I updated the code so it goes from -1 to 1 over two seconds and then -1 to 1 instead of going 0 to 1.
Nov 18, 2023 at 22:29 history edited John Nyquist CC BY-SA 4.0
Updated answer based on additional information from original poster.
Nov 18, 2023 at 22:23 history edited John Nyquist CC BY-SA 4.0
Updated answer based on additional information from original poster.
Nov 17, 2023 at 21:21 comment added PKCLsoft As suspected, it doesn't really work as the illusion of the disc spinning in 3D is broken. I've added a GIF to the question to better illustrate that.
Nov 17, 2023 at 17:31 comment added John Nyquist I guess I'm still not clear on what you are looking for. My suggestion above does spin it on its axis (the red line), it is not relying on the art asset to be mirrored on the axis. When you get back on this project, if you can provide more info, I'm happy to help.
Nov 16, 2023 at 22:40 comment added PKCLsoft I have perhaps not provided a good example for the image as it appears almost as if there is a mirror image on either side of the line. Within my actual art assets this will not be the case, so this trick, whilst effective, will not really spin the internal image as such. What I could do I guess is that as the yScale hits zero, spin the internal image (in this case, the asterisk) 180 degrees. That might actually work quite well. Sorry for not being responsive; I'm stuck in another issue atm.
Nov 10, 2023 at 22:52 history edited John Nyquist CC BY-SA 4.0
Added animated gif example of my suggestion.
Nov 10, 2023 at 18:04 history edited John Nyquist CC BY-SA 4.0
More specific and complete answer.
Nov 10, 2023 at 17:59 comment added John Nyquist NOTE: If the red line is horizontal as a starting position, this will work easily. Maybe later today I can post a gif or movie.
Nov 10, 2023 at 17:40 comment added John Nyquist @PKCLsoft Can you elaborate? What I posted (and tried) appears to be what you described. You can make it look even more real by adding some easing to what I posted so that the scaling is not linear in speed.
Nov 9, 2023 at 10:09 comment added PKCLsoft Thanks for this suggestion. This is close to what I've done already but have been unable to get the effect I wanted. I'll have a look at this again now.
S Nov 7, 2023 at 23:02 review First answers
Nov 8, 2023 at 15:10
S Nov 7, 2023 at 23:02 history answered John Nyquist CC BY-SA 4.0