Nice to see you around again Erwin! bpy is available in the BGE if you're running from inside Blender. However, not from the Blenderplayer. Since this is more of a debug thing, I think this would be acceptable.
Cheers, Mitchell Stokes On Tue, Mar 1, 2011 at 11:38 AM, Erwin Coumans <erwin.coum...@gmail.com>wrote: > Hi, > > That is a good idea but I don't think it is a full replacement unless BPY > is > available within the BGE. > > Having the option to export within the BGE allows you to 'debug' and export > a full running simulation. > Some constraints/joints are only added at run-time (vehicles for example). > > Is BPY that can access a running Bullet simulation, available inside BGE? > Thanks, > Erwin > > > > > > > On 1 March 2011 11:23, Dalai Felinto <dfeli...@gmail.com> wrote: > > > Hi Erwin, > > > I plan to add a single BGE physics API to export to a .bulle file, for > > > example exportBullet(char* fileName); > > > > What if instead of a BGE API you do it as a bpy API? > > That way one can write an addon to export the .bulle files. It should > > already be possible now, but having an API for that can be easier I > > guess. > > > > (as a matter of fact Juha Mäki-Kanto, who submitted the RigidBodyJoint > > patch, uses Blender exactly for this, to export the .bulle for his > > engine) > > > > -- > > Dalai > > > > 2011/3/1 Erwin Coumans <erwin.coum...@gmail.com>: > > > Hi Carsten, > > > > > > No API or GUI changes, demos should work the same. > > > > > > I plan to add a single BGE physics API to export to a .bulle file, for > > > example exportBullet(char* fileName); > > > > > > The physics behaviour might slightly change (unavoidable), so if you > > share > > > the demos with me, I can help compatibility. > > > Thanks, > > > Erwin > > > > > > > > > > > > > > > On 1 March 2011 10:54, Carsten Wartmann <c...@blenderbuch.de> wrote: > > > > > >> Am 01.03.2011 19:04, schrieb Erwin Coumans: > > >> > Hi, > > >> > > > >> > It has been a long time. > > >> > > >> Indeed! > > >> > > >> > Can I go ahead (in the upcoming few weeks) and make the change, or > is > > >> > someone else working on Bullet related things? > > >> > > >> Well, not code wise, but I am just updating the BGE part of my book, > so > > >> do you think I will face problems in my demo files after the book is > > >> printed? I.e. will it change things in a manner that the physics dont > > >> work the way they should? > > >> > > >> Will there be GUI changes? (small things like a new menu entry is not > a > > >> problem, but shuffling menus would). > > >> > > >> Cheers, > > >> Carsten > > >> > > >> -- > > >> Carsten Wartmann: Autor - Dozent - 3D - Grafik > > >> Homepage: http://blenderbuch.de/ > > >> Das Blender-Buch: http://blenderbuch.de/redirect.html > > >> _______________________________________________ > > >> Bf-committers mailing list > > >> Bf-committers@blender.org > > >> http://lists.blender.org/mailman/listinfo/bf-committers > > >> > > > _______________________________________________ > > > Bf-committers mailing list > > > Bf-committers@blender.org > > > http://lists.blender.org/mailman/listinfo/bf-committers > > > > > _______________________________________________ > > Bf-committers mailing list > > Bf-committers@blender.org > > http://lists.blender.org/mailman/listinfo/bf-committers > > > _______________________________________________ > Bf-committers mailing list > Bf-committers@blender.org > http://lists.blender.org/mailman/listinfo/bf-committers > _______________________________________________ Bf-committers mailing list Bf-committers@blender.org http://lists.blender.org/mailman/listinfo/bf-committers