You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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
|