[Bf-committers] game engine properties

Campbell Barton ideasman42 at gmail.com
Tue Mar 23 08:51:06 CET 2010

a problem with enabling this by default is naming collisions.

In Blender 2.5's python API I changed it to use mapping funcitons for
user defined properties.

# these can co-exist
obj.worldPosition = 1,2,3
obj["worldPosition"] = "Custom Property"

So if the property sensor did this I think it would need to be an
option "Internal Properties" - then select from a list.

On Tue, Mar 23, 2010 at 8:42 AM, Campbell Barton <ideasman42 at gmail.com> wrote:
> for some properties its possible to add however worldPosition is a
> vector which currently isnt supported by internal property types
> (IIRC).
> On Mon, Mar 22, 2010 at 10:15 PM, Jeff <jmoguill2 at gmail.com> wrote:
>> Hi,
>> I'm wondering: in the game engine logic editor, for the property sensor and
>> property actuator, is it possible to reference built in object properties
>> like worldPosition, etc.  I think something like that would be really
>> useful.  Also, is it possible to reference properties of other objects?
>> Thanks,
>> Jeff
>> _______________________________________________
>> Bf-committers mailing list
>> Bf-committers at blender.org
>> http://lists.blender.org/mailman/listinfo/bf-committers
> --
> - Campbell

- Campbell

More information about the Bf-committers mailing list