Oh, forgot to mention, if you want to prevent the player from simply running through the objects, set the "collider" property on the dynamic object to true :-)
On Wed, Aug 18, 2010 at 1:46 PM, David Lenaerts <[email protected]>wrote: > Yes you can, just do > _tree.addChild(someDynamicMesh); > > (so not _view.scene.addChild , as your tree is the "container" of the > objects ) > You should be able to simply move the dynamic mesh. > Keep in mind that dynamics need to be cut up along the internal bsp planes, > which can get pretty expensive in some cases. For complicated meshes, a > trick we noticed works great is to render dynamics to a plane (with the same > transformation as the original mesh had), and add the plane to the tree :-) > The planes would always need to look at the camera, just like billboards. > In a long isle with "cube" doors, you'll probably be fine as is tho :-) > > Cheers, > David > > On Wed, Aug 18, 2010 at 1:42 PM, bebensiganteng > <[email protected]>wrote: > >> i wanted to have something animated within my BSP (pardon my newbie >> terminology), say a door constantly opening and closing where the user >> has to pass that. >> >> i've managed to successfully exported my BSP but currently my 3D >> environment just has a long empty aisle, i want to have several doors >> between the ends, how can i add the animated doors and still retain >> the collision calculation intact? > > > > > -- > David Lenaerts > Flash platform developer > http://www.derschmale.com > -- David Lenaerts Flash platform developer http://www.derschmale.com
