Vehicles?

Discuss any questions about BEPUphysics or problems encountered.
Post Reply
mog13
Posts: 2
Joined: Sun May 22, 2011 12:18 pm

Vehicles?

Post by mog13 »

Hey,

I have just started using Bepu and love it! I have been fiddling with it for a couple of days now and am pretty happy with everything except vehicles, i just cant get them to work!

I have tried so many different ways I have ended up breaking my test game so have decided to just start again. I can make a vehicle and add it to the space, and I tried several ways to implement wheels but could never seem to get anything to move or drive.

does anyone have any examples or advice? it would be greatly appreciated!

thanks,

Morgan.
Norbo
Site Admin
Posts: 4929
Joined: Tue Jul 04, 2006 4:45 am

Re: Vehicles?

Post by Norbo »

I would recommend starting from the VehicleInput in the BEPUphysicsDemos project source. There's also a TankInput, which shows a significantly modified version that behaves like a tank. Making incremental modifications off of an existing configuration tends to be a lot easier than trying to figure out how all the parameters work at once.
mog13
Posts: 2
Joined: Sun May 22, 2011 12:18 pm

Re: Vehicles?

Post by mog13 »

thanks, where can I find this?

Is this the latest build that works with 4.0 because i came across a tank example somewhere on google and couldn't seem to get it to work :(

*EDIT*
I have found a demo for the wp7 but it doesnt quite map properly, is the BEPU physics drawer exclusively for the phone?
Norbo
Site Admin
Posts: 4929
Joined: Tue Jul 04, 2006 4:45 am

Re: Vehicles?

Post by Norbo »

The main BEPUphysicsDemos project is in the main source download: http://bepuphysics.codeplex.com/SourceC ... changesets

The phone demo's vehicle is basically identical, but its drawer is indeed for the phone only. The main BEPUphysicsDemos project contains a drawer for PC/Xbox360.

There's also an in-development fork which you can try out: http://bepuphysics.codeplex.com/SourceC ... evelopment
Post Reply