Nevar pievienot vairāk kā 25 tēmas
Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.
123456789101112 |
- import bge
-
-
- def set(cont):
- own = cont.owner
-
- #own.getWorldPosition
- scene = bge.logic.getCurrentScene()
- cam = scene.active_camera
- own.worldPosition = cam.worldPosition
-
- # dont call main(bge.logic.getCurrentController()), the py controller will
|