Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Dark Physics & Dark A.I. & Dark Dynamix / Looking CCD (Continuous Collision Detection) code example!

Author
Message
Hoozer
17
Years of Service
User Offline
Joined: 8th Sep 2006
Location: Bremerhaven (Germany)
Posted: 10th Sep 2006 13:26
Hello everyone,

once more I hope to get help from this forum!

I looked at the "Dark Physics Helpfile" how to use the CCD (Continuous Collision Detection) of the Dark-Physics-SDK for fast moving objects, but I only found a short explanation of how it works theoreticly, but no code example!

I have no idea how to use it, I hope someone can give me a short example or the main commands to use it!


Thanks

Hoozer
Codger
21
Years of Service
User Offline
Joined: 23rd Nov 2002
Location:
Posted: 10th Sep 2006 20:46
It is not currently working you will have to wait until after the next update of DP but the commands are


phy set continuous cd 1.0 ' this turns CCD

phy set rigid body continuous cd OBJECTID, 1

System
PIV 2.8 MZ 512 Mem
FX 5600 256 mem
Hoozer
17
Years of Service
User Offline
Joined: 8th Sep 2006
Location: Bremerhaven (Germany)
Posted: 10th Sep 2006 22:12
Thanks for giving me that info!

I found in a post:
phy set continuous cd 1.0

In the helpfile:
phy set rigid body ccd motion threshold OBJID, ThresholdValue

I tried it out and somehow I feel like the tunneling got less than without it! (It might be only the "feeling"!)

Login to post a reply

Server time is: 2024-04-19 13:15:04
Your offset time is: 2024-04-19 13:15:04