Greetings there is solution to rotate the camera to face point on sphere, But I want to rotate the sphere so the point faces the camera, I need it like this because ultimately I want to shift the sphere to the right so a profile can display on the left. Any help or if we can apply some mathematics to have the camera rotate to face point on sphere then shift left that helps
You should be able to implement this feature via Quaternion.rotateTowards().
Example: three.js webgl - math - orientation transform
In your case, you have to replace the cone with a sphere. You also have to ensure that the mentioned point on the sphere looks along the default forward vector (0,0,1). Use the transforms methods of BufferGeometry
(like rotateX()
) to transform your sphere accordingly.
Hey there what courses I could take so I can have an expert level of knowledge of three.js
It seems that they’re Must be prerequisites such as a physics or mathematics degree know any courses out there that have certifications in the end I’m not willing to take a course that doesn’t give me any certification
El El mar, ago. 30, 2022 a la(s) 3:48 a.m., Michael Herzog via three.js forum <notifications@threejs.discoursemail.com> escribió: