Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import bge
- scene = bge.logic.getCurrentScene()
- ob = bge.logic.getCurrentController().owner
- ob1 = scene.addObject("Sphere", ob)
- #ob2 = scene.addObject("object2", ob)
- print(ob1, ob2)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement