I want to rotate 4 object around background image, I done with revolution slider but the client want to rotating to pause when hovering one of the images and revolution slider do not have it.
this is what I done with revolution slider
this is what I have with threejs https://www.allium-medical.com/new/spin/rotate.html
it need move around the “allium” images and move in circle like clock.
I don’t found how to place it right and make the move
object.rotation.y += 0.05; not working
If I’m getting it correctly, you basically want to show a rotation effect on the 4 circles.
One way to achieve this effect quite easy, is parenting the children (circles) under a parent mesh container, and just rotate the parent. You have to apply a starting offset position to each of the child (circles) for this to work.
Thanks, I just want to move all the scene to the right so it will around to main circle.
I using this on WordPress site because the client want to stop the movement when hovering and it do not work with revolution slider.
this is what I have on the site: https://www.allium-medical.com/new/rotate/
Other question how to I set focus to the object so I reach them with the keyboard with ‘tab’ key like on the menu?
seems to me like your just moving things in a circular path and normal to the screen? Would this not be easier to achieve without three.js - rather just css and js?
If this can be stop when hovering, having links and can be reached with the keyboard with ‘tab’
I think it will better, any idea how to do it?
will this also will fix the background not looking good?
Thanks again for all help, I don’t know where to ask, but I have 2 questions:
How can I fix the loading where the images are going out from the center and move to the location before they start to spin?
Can I stop the movement when the image get focus when I reach it with the ‘tab’ key?
here is a link https://www.allium-medical.com/new/
(There is a way to add code here?)
Thanks, I don’t like asking on Stackoverflow, they vote down question they don’t like and not usually helping.
I tried with threejs but add problems with the background, maybe I will try it in other way seen I add it to WordPress site
You mean like a solar system ? Create object in the center of rotation, give it low opacity. Make it rotate around its own axis. Create objects around the center object, constrain them to the center object (parent) and that should be about it.