Search found 2 matches

by chuchuw
Mon Aug 17, 2020 3:48 pm
Forum: Libraries and Tools
Topic: Groverburger's 3D Engine (g3d) v1.3 Release
Replies: 94
Views: 117655

Re: Groverburger's 3D Engine (G3D) New and Improved!

Ok, I just found the current version has this : SetCameraAndLookAt(x,y,z, xAt,yAt,zAt)
Should do the work.
by chuchuw
Thu Aug 13, 2020 3:20 pm
Forum: Libraries and Tools
Topic: Groverburger's 3D Engine (g3d) v1.3 Release
Replies: 94
Views: 117655

Re: Groverburger's Super Simple 3D Engine - v1.3

Hello, I am currently trying to point the camera towards a certain position with this library. I spent some time trying to create a function like this, but I can't find the good formula : function lookAt (sc, cameraXYZ, targetXYZ) ... sc.camera.angle.x = ... sc.camera.angle.y = ... sc.camera.angle.z...