nskrypnik / kivy3

3D graphics framework for Kivy.
MIT License
85 stars 43 forks source link

Can't rotate Camera #15

Closed KeyWeeUsr closed 7 years ago

KeyWeeUsr commented 7 years ago

I know it's not really implemented there (camera.py), but I tried to "copy" the behavior from object3d.py by inheriting and adding the additional self._instructions.add(camera.as_instructions()) to renderer.py (without scale, because it's a float), but I still haven't managed to get it work.

I wonder, is there something I can look at to get the rotation work? There has to be some instruction to rotate it. I ask mainly because I'm used to cameras that are able to rotate (Unity, Blender) and having rotation available would make Camera.look_at() far more powerful than it's now (old strategic games-like). I dare to say even a simple First Person Walker would be available quite straightforward. FPShooter would be possible after some collisions would be implemented too.

KeyWeeUsr commented 7 years ago

ref #16