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.
1234567891011 |
- import bge
-
- def place():
- scene = bge.logic.getCurrentScene()
- for x in scene.objects:
- if 'occluder_tmp' in x.name:
- print('place occluder')
- o = scene.addObject('occluder_obj', x)
- o.worldOrientation = x.worldOrientation
- o.worldScale = x.worldScale
- x.endObject()
|