[Bf-python] Object Properties from Python?

Joseph Gilbert models at paposo.com
Wed May 26 20:12:35 CEST 2004


I don't really know that much about the gameengine (or it's API). The
properties are assigned to regular blender objects (internally) through the
blender interface, but it seems only the gameengine python API has the
ability to access and modify this stuff (as apposed to the regular blender
python API).

-----Original Message-----
From: bf-python-admin at blender.org [mailto:bf-python-admin at blender.org]On
Behalf Of Toni Alatalo
Sent: Wednesday, May 26, 2004 12:46 PM
To: bf-python at blender.org
Subject: RE: [Bf-python] Object Properties from Python?


On Wed, 26 May 2004, Joseph Gilbert wrote:

> 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

does it really?

i thought that in the game engine the properties are available just as
regular Python attributes of the blenderobjects - at least i'm simply
assigning them from Python in my engine .. if i recall correctly, it's
been a while i touched that part but don't see any magic nor remember
using any logic bricks for that (am using properties to e.g. control
actions in http://studio.kyperjokki.fi/engine/KyperMover - there
kyperjokki.Mover.bobject is a reference to the blender object used to
access the properties )

gotta run now, but if there's something unclear yet can check it tomorrow.

~Toni

_______________________________________________
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