[Bf-committers] A patch to add an addObject() method to KX_Scene

Nathan Letwory jesterking at letwory.net
Sun Feb 22 10:27:26 CET 2009


2009/2/22 Campbell Barton <ideasman42 at gmail.com>:
>> On Sun, Feb 22, 2009 at 12:37 AM, Mitchell Stokes <mitchell at daboys4u.com> wrote:
>>> I've created a patch to add an addObject() method to KX_Scene so that
>>> I could avoid using the add object actuator.
>
> +1 since its really useful.
> Though I wonder if this is a good direction to head - where python
> replicates actuator functionality for convenience. - Benoit? - what do
> you think?

I thought this was necessary to do - that's why I did setMass as a py
function first, and then as actuator. I mean, why should the py api be
able to do *less* than with actuators?

/Nathan


More information about the Bf-committers mailing list