[Bf-python] Getting started with game blender python

Nick Winters nickrwinters at gmail.com
Thu Mar 3 21:18:58 CET 2005


I know of no such list or forum

the blender module in game blender shouldn't be used, but it does work

...somewhat...

the blender module is only availiable inside of blender, it isn't in
the plugin or the standalone runtime.

changes in nmesh objects will take effect after scene changes, and
there isn't really much more you can edit.

however, meshes can be modifed in the game engine using a different
api... but new faces/verts cannot be made [and it is much harder to
deal with the connections of the verticies iirc]
http://www.blender.org/modules/documentation/pydoc_gameengine/PyDoc-Gameengine-2.34/KX_GameObject.KX_GameObject-class.html#getMesh
http://www.blender.org/modules/documentation/pydoc_gameengine/PyDoc-Gameengine-2.34/KX_MeshProxy.KX_MeshProxy-class.html


I belive armatures can be posed as well, but I have been unable to
find the api for that.


On Tue, 1 Mar 2005 13:06:12 +0800, Chris McCormick <chris at mccormick.cx> wrote:
> For future reference (you probably know this already), it seems I'm
> mistaken. You can infact use Blender GameLogic python libraries in the
> same piece of python code running in a sensor. As far as I can tell it
> should be possible to do anything you can normally do from game blender
> scripts. Does anyone know if there is a list dedicated to just
> discussing game blender python? I couldn't seem to find it on the
> Blender lists page.
> 
> Best,
> 
> Chris.
> 
> On Mon, Feb 28, 2005 at 09:10:52AM +0800, Chris McCormick wrote:
> > On Sun, Feb 27, 2005 at 05:03:40PM -0800, joeedh wrote:
> > > Chris McCormick wrote:
> > >
> > > Well, I can tell you that the gameengine doesn't use any of the
> > > Blender.* modules. . .it has it's own python API.
> >
> > That's a great pity. It would be great to be able to perform realtime
> > mesh deformations.
> >
> > Best,
> >
> > Chris.
> >
> > -------------------
> > chris at mccormick.cx
> > http://mccormick.cx
> > _______________________________________________
> > Bf-python mailing list
> > Bf-python at projects.blender.org
> > http://projects.blender.org/mailman/listinfo/bf-python
> -------------------
> chris at mccormick.cx
> http://mccormick.cx
> _______________________________________________
> Bf-python mailing list
> Bf-python at projects.blender.org
> http://projects.blender.org/mailman/listinfo/bf-python
>



More information about the Bf-python mailing list