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 / Can I use DarkPhysics for check collisions?

Author
Message
Neomex
13
Years of Service
User Offline
Joined: 30th May 2010
Location:
Posted: 6th Jun 2010 19:25
Hello,
I want to check box collision between 2 rigid bodies. Is it possibile to do with darkPhysics?
Haven't found anything in documentation...

Living for C++ programming!
Duke E
15
Years of Service
User Offline
Joined: 10th Mar 2009
Location:
Posted: 7th Jun 2010 14:27 Edited at: 8th Jun 2010 00:37
Here is a example on how to collect collisions.
The comments should give some insight in to whats going on



Regards
Neomex
13
Years of Service
User Offline
Joined: 30th May 2010
Location:
Posted: 7th Jun 2010 21:36
Forgot to write that I use C++, but I think I'll understand it. Just don't know what

mean.
Thanks a lot!

Living for C++ programming!
HowDo
21
Years of Service
User Offline
Joined: 28th Nov 2002
Location: United Kingdom
Posted: 7th Jun 2010 22:14
that means float or normal = 0.0f

Dark Physics makes any hot drink go cold.
Duke E
15
Years of Service
User Offline
Joined: 10th Mar 2009
Location:
Posted: 8th Jun 2010 00:43 Edited at: 8th Jun 2010 00:43
Ah ok C++, well the commands are the same as in DP.

Sorry should have been "NormalY#=0.0" (not Normal#=0.0). Just to reset the temporary variable if you loop trough the whole set of sub collisions for an object (Updated the example source).

Regards

Login to post a reply

Server time is: 2024-03-29 12:27:11
Your offset time is: 2024-03-29 12:27:11