movement after a collision

Discuss any questions about BEPUphysics or problems encountered.
Post Reply
gmotagi
Posts: 11
Joined: Mon Apr 04, 2011 12:47 pm

movement after a collision

Post by gmotagi »

If I have a static wall entity and a dynamic car entity then I drive the car into the wall at 45 degrees and keep applying force to the car will it continue to move along the edge of the wall until it reaches its end, then continue on a path of 45 degrees? or Does it just stop when it collides?
Norbo
Site Admin
Posts: 4929
Joined: Tue Jul 04, 2006 4:45 am

Re: movement after a collision

Post by Norbo »

I am not sure I fully understand the situation, but a good rule of thumb would be to ask 'what would happen in real life?'

To get an idea of how it works, try driving around on the playground demo (#10, press 0 to get to it once the demos are running) and then press 'v' to activate the vehicle.
gmotagi
Posts: 11
Joined: Mon Apr 04, 2011 12:47 pm

Re: movement after a collision

Post by gmotagi »

Thanks. I played with it after work and it does do what I was trying to describe i.e. apply a force at an arbitary angle to one object that sits alongside another, does the object get pushed along the side of the second.
Post Reply