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.
appCcdPhysicsDemo, bullet-through-paper
-
- Site Admin
- Posts: 4221
- Joined: Sun Jun 26, 2005 6:43 pm
- Location: California, USA
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
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
-
- Posts: 4
- Joined: Wed Apr 26, 2006 12:35 pm
CCD mode rocks!
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.
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.
-
- Posts: 7
- Joined: Wed Mar 26, 2008 9:26 am
Re: appCcdPhysicsDemo, bullet-through-paper
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'.
-
- Posts: 7
- Joined: Wed Mar 26, 2008 9:26 am
Re: appCcdPhysicsDemo, bullet-through-paper
Ok I saw previously posted example and yes it does work. is the appccdphysicsDemo broken?
-
- Site Admin
- Posts: 4221
- Joined: Sun Jun 26, 2005 6:43 pm
- Location: California, USA
Re: appCcdPhysicsDemo, bullet-through-paper
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.amirishere wrote:Ok I saw previously posted example and yes it does work. is the appccdphysicsDemo broken?
We will let you know once this has been sorted,
Erwin
-
- Posts: 25
- Joined: Thu Apr 10, 2008 11:19 am
- Location: Utrecht, Netherlands
Re: appCcdPhysicsDemo, bullet-through-paper
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!