Physics Simulation Forum

 

All times are UTC




Post new topic Reply to topic  [ 4 posts ] 
Author Message
PostPosted: Wed Jun 20, 2012 7:14 am 
Offline

Joined: Thu Jun 14, 2012 2:15 pm
Posts: 5
Hello,

I am using btRaycastVehicle for a vehicle simulation and have collision with walls. How can I customize the collision with the walls so my vehicle won't top over when colliding at high speeds ?


Top
 Profile  
 
PostPosted: Fri Jun 22, 2012 10:42 pm 
Offline

Joined: Sun Jan 30, 2011 8:46 pm
Posts: 64
Perhaps you can check if the chassis y-axis is pointing downwards and set it back upright ?


Top
 Profile  
 
PostPosted: Thu Jul 19, 2012 1:38 pm 
Offline

Joined: Fri Apr 06, 2012 2:10 am
Posts: 4
To make things look smoother you might want to change the collider or manually change the center of mass to the back of the chassis, or move it around dynamically, or apply some force or angular velocity proportional to the angle (linearly, squared or cubed or w/e) between up axis of the vehicle and the world up axis, that will counter-act the rotation.


Top
 Profile  
 
PostPosted: Thu Jul 26, 2012 8:48 am 
Offline

Joined: Thu Jun 14, 2012 2:15 pm
Posts: 5
hello,

thanks for the answer, how do I change the collider?...


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC


Who is online

Users browsing this forum: Google [Bot] and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group