That works perfectly...thanks alot!

On Dec 8, 1:00 am, Aji Pamungkas <[email protected]> wrote:
> Hi Dona,
>
> Well... I don't have any problem with the latest JigLib and the latest
> Away3D, so I don't know why your code don't work. This are my code :
>
> physics = new Away3DPhysics((facade as Game).gameMediator.threeDView.view3D,
> 1);
> var ground:RigidBody = physics.createGround({width:1800, height:1800}, 0);
> becakFrontBB = physics.createCube({width:10, height:10, depth:10});
> becakFrontBB.y = 10;
> physics.getMesh(becakFrontBB).material = new WireframeMaterial();
>
> And of course, calling step will run the physics, and it works fine with a
> ground and a cube.
>
>
>
>
>
>
>
>
>
> On Mon, Dec 6, 2010 at 9:56 AM, Dona <[email protected]> wrote:
> > I've posted this query in jiglib forum.Unfortunately i didn't get any
> > response from jiglib forum.I thought anybody in this forum who already
> > familiar with jiglib and away3D will help me...
>
> > Thank You
> > Dona
>
> > On Dec 6, 2:38 am, Michael Iv <[email protected]> wrote:
> > > Hey Dona have you tried on JigLib forum.?Here most topics are related to
> > > Away3D.
>
> > > On Sun, Dec 5, 2010 at 11:16 PM, Dona <[email protected]> wrote:
> > > > Anybody please help me on this problem?
>
> > > > On Dec 5, 7:50 pm, Dona <[email protected]> wrote:
> > > > > Hi,
>
> > > > > I've created terrain and collision objects in away3D(flash sdk cs5)
> > > > > for a racing game.Now i'm trying to create collision there.But i'm a
> > > > > very beginner in jiglib physics.Whenever i'm applying step function
> > in
> > > > > enterframe function then i can see, the angle of the terrain is
> > > > > totally reversed...
>
> > > > > I've created a hovercamera and following are the setting.
>
> > > > > protected function setCamera() : void{
> > > > >             camera.zoom = 1;
> > > > >             camera.focus = 600;
> > > > >             camera.targetpanangle = 180;
> > > > >             camera.targettiltangle = 8;
>
> > > > > }
>
> > > > > And I've created terrain here...
>
> > > > > private function createTerrain() : void {
> > > > >             var ground:RigidBody = physics.createGround( {
> > width:2500,
> > > > > height:3125, segments:20 } , 0);
> > > > >             physics.getMesh(ground).material = new
> > > > > BitmapMaterial(Cast.bitmap("Terrain"));
>
> > > > >   }
>
> > > > > protected var physics:Away3DPhysics = new Away3DPhysics(view, 5);
>
> > > > > I appreciate all your help
> > > > > Thank You
>
> > > --
> > > Michael Ivanov ,Programmer
> > > Neurotech Solutions Ltd.
> > > Flex|Air
> > |3D|Unity|www.neurotechresearch.comhttp://blog.alladvanced.nethttp://
> >www.meetup.com/GO3D-Games-Opensource-3D/
> > > Tel:054-4962254
> > > [email protected]
> > > [email protected]
>
> --
> Aji Pamungkas

Reply via email to