Physics Simulation Forum

 

All times are UTC




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: restitution
PostPosted: Sat Apr 28, 2007 4:49 pm 
Offline

Joined: Fri Apr 20, 2007 7:29 pm
Posts: 27
Location: Germany
hi,

to figure out what restitution means exactly i checked wikipedia:
http://en.wikipedia.org/wiki/Coefficient_of_restitution

there it says:
Quote:
restitution = squareroot ( bounce_height / drop_height )



so if i set restitution to zero there should not happen any bounce.

am i right with that? or is there another influence?
because when i set both restitutions to zero there is some small bounce.
and with one there isn't much difference.
is that a common behavior? or did i forget something?


Top
 Profile  
 
 Post subject:
PostPosted: Wed May 02, 2007 12:45 pm 
Offline

Joined: Tue Apr 24, 2007 12:38 pm
Posts: 19
Hello,

I find the same problem for angularFactor, no effect on collision response...

Maybe I forget something...

Fred.


Top
 Profile  
 
 Post subject:
PostPosted: Wed May 02, 2007 1:39 pm 
Offline
Site Admin
User avatar

Joined: Sun Jun 26, 2005 6:43 pm
Posts: 3744
Location: California, USA
Are you using Bullet 2.50? Angular factor should work for that version.

The 'cache friendly' solver seems to lack restitution, this should be fixed in next version (2.51).


Please try running the old solver mode, that should still have restitution:
Code:
//during initialization
constraintSolver = new btSequentialImpulseConstraintSolver();
constraintSolver->setSolverMode(SOLVER_RANDMIZE_ORDER);

Thanks for the feedback,
Erwin


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

All times are UTC


Who is online

Users browsing this forum: Bing [Bot] and 4 guests


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