Hello.
I write billiards simulation game.
When user push "H" button I call ->applyImpule() on the cueball - it's alright, but when cueball hit pyramid it accelerates and other ones starting to move and will never stop - why?
Built on Linux Mandriva: http://dump.ru/file/3194398
Sources (used only SDL and Bullet): http://dump.ru/file/3194434
Unstoppable billiards balls
-
- Posts: 2
- Joined: Fri Aug 07, 2009 1:03 pm
- Location: Togliatti, Russia
-
- Site Admin
- Posts: 4221
- Joined: Sun Jun 26, 2005 6:43 pm
- Location: California, USA
Re: Unstoppable billiards balls
Are you using the latest Bullet 2.75 RC6 or later? If so, please try it.
Also, you might want to add some angular damping.
I couldn't download the file from the russian website. Can you try to attach the source archive to this topic?
Thanks,
Erwin
Also, you might want to add some angular damping.
I couldn't download the file from the russian website. Can you try to attach the source archive to this topic?
Thanks,
Erwin
-
- Posts: 2
- Joined: Fri Aug 07, 2009 1:03 pm
- Location: Togliatti, Russia
Re: Unstoppable billiards balls
Yes, setting damping resolved the problem.
Thanks for help.
Thanks for help.