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.

Code Snippets / [DBP + DarkPhysics] Broken wall

Author
Message
slon
16
Years of Service
User Offline
Joined: 7th Jul 2008
Location:
Posted: 27th Jul 2008 18:03 Edited at: 27th Jul 2008 19:41
hi!
hope someone will find it usefull!

if u are using 3dws to create levels and u want to use dark physics in your game u may find some difficulties. if u will create a wall and cut it into pieces there is no easy way to use it with db and dark physics so this code may be usefull for u!
all you have to do is to export your "wall" (or whatever) to single X file ( don't export whole level STATIC mesh). now if u have your breakable object in one X file u may use code below to blend it into DB with Dark Physics!



if someone knows easier way to do it i will be happy to any feedbacks!
thanks!
slon
16
Years of Service
User Offline
Joined: 7th Jul 2008
Location:
Posted: 29th Jul 2008 00:26
here u can download example rar file - source and exe!
so U will see what i mean if u don't know

Attachments

Login to view attachments
slon
16
Years of Service
User Offline
Joined: 7th Jul 2008
Location:
Posted: 30th Jul 2008 23:13 Edited at: 30th Jul 2008 23:16



this screen is from the same version but with modiefied media files!

Attachments

Login to view attachments
AndrewT
17
Years of Service
User Offline
Joined: 11th Feb 2007
Location: MI, USA
Posted: 9th Oct 2008 04:15 Edited at: 9th Oct 2008 04:16
Really cool! I can see this being developed a little further and used for something such as destructable props. You could make a chair out of several different parts and then have it break after you shoot it or apply a certain amount of force to it. I like it.

EDIT::

whoops, just noticed I bumped up a 2 month old thread. Sorry. I didn't realize that there are threads on the first page of code snippets that are months old.

slon
16
Years of Service
User Offline
Joined: 7th Jul 2008
Location:
Posted: 9th Oct 2008 17:12
thanks i was hoping someone will like it heh
wh1sp3r
21
Years of Service
User Offline
Joined: 28th Sep 2003
Location: Czech republic
Posted: 18th Oct 2008 23:43
slon: ty jsi polák viď poznal jsem to z komentářů

Yes, nice demo. What about wall from cloth ? It is possible ?


PS: Real programmers aren't afraid of math!.
slon
16
Years of Service
User Offline
Joined: 7th Jul 2008
Location:
Posted: 21st Oct 2008 14:57
tak

hmmm don't know about cloth.

i did this coz i had some problems on other app i was doing....
so i didn't play around with this one!

Login to post a reply

Server time is: 2024-11-22 07:54:07
Your offset time is: 2024-11-22 07:54:07