get a certain controller

Compiling, libraries, modules, coding guidelines and porting

Moderators: jesterKing, stiv

BlenderFan123
Posts: 9
Joined: Thu Oct 27, 2011 10:51 am

get a certain controller

Postby BlenderFan123 » Sun Nov 13, 2011 9:41 pm

in blender game you can get the currently activated object by using the phrase:

bge.logic.getCurrentController()

and with the Method "owner" you can get access to the content of that objects property and content.

But what if you want to get a certain object in the scene which is CURRENTLY NOT ACTIVATED?! How can you get that object through python?! I found nothing about it neither here nor in the internet! Thanks in advance!

Return to “Coding Blender”

Who is online

Users browsing this forum: No registered users and 0 guests