[Bf-python] Object Properties from Python?

Joseph Gilbert models at paposo.com
Wed May 26 18:36:06 CEST 2004


I don't think there is logic brick support in the normal python API. The
gameengine uses this. However, I don't see why we can't have something also
in the python API right? Even if the gameengine uses this stuff I could
still be useful to the normal python API (at least I think). Any ideas?

-----Original Message-----
From: bf-python-admin at blender.org [mailto:bf-python-admin at blender.org]On
Behalf Of Scott Coursey
Sent: Wednesday, May 26, 2004 11:53 AM
To: bf-python at blender.org
Subject: [Bf-python] Object Properties from Python?


In the Logic panel of an Object, we have the ability to add properties.

Is there a method of accessing them from Python?  I've seen some mention
about the GameEgine, but I'm not sure how to grab it from a general
script.

I'm currently working on a script that will walk the object tree and
export the files in a MAP format for the Torque Game Engine.  Certain
objects in the TGE, like lamps, have specific properties required to get
them to work (pulse rates, targets, flicker colors, etc).

Would anyone have a suggestion on accessing the properties, or would this
be something better left as, "write the interface to the code and submit
it for a change?"  I don't mind working on modifying Blender; I didn't
know if someone else already knew how to do it.

Thanks,
ScottC
_______________________________________________
Bf-python mailing list
Bf-python at blender.org
http://www.blender.org/mailman/listinfo/bf-python





More information about the Bf-python mailing list