Page 1 of 1

appCcdPhysicsDemo, bullet-through-paper

Posted: Wed Apr 26, 2006 1:02 pm
by ~MyXa~
Hi!

I've changed CcdPhysicsDemo\CcdPhysicsDemo.cpp, line 579 from
float speed = 40.f;
to
float speed = 120.f;
and see bullet-through-paper effect. Why?

Thanks.

Posted: Fri Apr 28, 2006 1:07 am
by Erwin Coumans
There is an updated version that shows very basic CCD.
The method used in Extras\PhysicsInterface\CcdPhysics\CcdPhysicsEnvironment.cpp is very basic.
See the Win32 demo here:
http://www.continuousphysics.com/ftp/pu ... 2-demo.zip

Or get the latest sources from http://bullet.sourceforge.net

Erwin

CCD mode rocks!

Posted: Fri Apr 28, 2006 10:32 am
by ~MyXa~
Cool demo!

P.S. I found out that "const int numObjects = 240;" needs huge amount of stack memory when LCP is turning off. /STACK linker option helps.

Re: appCcdPhysicsDemo, bullet-through-paper

Posted: Wed Mar 26, 2008 10:06 am
by amirishere
I still can't get get CCD. It goes through at 370 or so initial speed. I have got the bullet 2.67. Is there anything special I have to do when running the application to get results. note I have already tried pressing '1'.

Re: appCcdPhysicsDemo, bullet-through-paper

Posted: Wed Mar 26, 2008 2:35 pm
by amirishere
Ok I saw previously posted example and yes it does work. is the appccdphysicsDemo broken?

Re: appCcdPhysicsDemo, bullet-through-paper

Posted: Sun Mar 30, 2008 5:03 pm
by Erwin Coumans
amirishere wrote:Ok I saw previously posted example and yes it does work. is the appccdphysicsDemo broken?
btContinuousDynamicsWorld is currently not activated, we are working on this. The CcdDemo is using btDiscreteDynamicsWorld, hence the issue. There is a continuous collision detection query, but response is work-in-progress.

We will let you know once this has been sorted,
Erwin

Re: appCcdPhysicsDemo, bullet-through-paper

Posted: Tue Apr 15, 2008 12:54 pm
by Oogst
I saw in the todo-list that this is still there, is there some planning for when full CCD is possibly again? It is a wonderful feature, so I would like to experiment with it!