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.
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()
|