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 / objects disappearing / blinking !

Author
Message
slon
16
Years of Service
User Offline
Joined: 7th Jul 2008
Location:
Posted: 7th Jul 2008 21:26
Hi!
Im geting anoying problem with dark physics!
i've got some X files which i've created with 3d world studio

solid.x - this one is PHY MAKE RIGID BODY STATIC MESH and works perfect if u create physic character!


wall.x
post.x
this two i'm loading as temp objects
then i go through all limbs and create objects with PHY MAKE RIGID BODY DYNAMIC CONVEX (coz mesh doesn't work with dynamic bodies for me) i've adjusted polygons manually so none of them is intersecting with other one! so at this point everything should be all right but when i run simulation some of the dynamic objects are disappearing and appearing back again! i've tried updated and not updated versions of dark physics and dark basic! i've tried on other pc without darkbasic at all and still got the same problem!
i don't scale objects in db and i don't reposition objects in db!
all 3 files are exported and placed exaclly as in 3d world studio!

i even created all 30 small X files manualy to avoid creating objects from limbs and the same problem occurs!

can anyone help ??

or maybe X file is not good to use with dark physics!?
or maybe i need to setup physics engine in the beginig or something?

thank You!
HowDo
21
Years of Service
User Offline
Joined: 28th Nov 2002
Location: United Kingdom
Posted: 7th Jul 2008 23:17
what do you see when you watch it in debugger, some times that will show you if the object doing some thing that dBPro not.

Dark Physics makes any hot drink go cold.
slon
16
Years of Service
User Offline
Joined: 7th Jul 2008
Location:
Posted: 7th Jul 2008 23:58
hmmm im using phys debugger for the first time ... and the first wird thing i can see is that the image in the debugger is ....
like in the mirror ! i mean like symmetry along Y axis! is it all right??

Attachments

Login to view attachments
slon
16
Years of Service
User Offline
Joined: 7th Jul 2008
Location:
Posted: 8th Jul 2008 02:17
I've used only X and DBO files exported from 3dWS v5.52


ok what i find out is
if u got X ascii file (let say its a wall made out of BOX and cutted in smaller pieces around 15-21 objects) and u will use:



You can forget it will look like your wall in PHYSX!

or if You will use:



You will get all the pieces plus one extra out of space which will destroy your simulation! :/ is it dark physics bug or ascii X file bug!

seems to work on DBO file!

but DBO file (exported from 3d world studio) doesn't support DBpro LIMBS so i have to find other solutions!!

I've used X files and DBO files exported from 3dWS v5.52!


thanks
slon
16
Years of Service
User Offline
Joined: 7th Jul 2008
Location:
Posted: 8th Jul 2008 11:19
You can see printscr from debugger! And i'm sure i've got 21 objects in wall model! i've double checked (checked X file in notepad as well still 21 objects!)

Attachments

Login to view attachments
slon
16
Years of Service
User Offline
Joined: 7th Jul 2008
Location:
Posted: 9th Jul 2008 00:00
OK
found the bug!
dark basic "doubles" the firs limb if you will use :



problem solved!
slon
16
Years of Service
User Offline
Joined: 7th Jul 2008
Location:
Posted: 9th Jul 2008 00:08
but pieces of wall still disappering :/ wrrr less then befor but still!
slon
16
Years of Service
User Offline
Joined: 7th Jul 2008
Location:
Posted: 9th Jul 2008 10:25
it's all about pivot point! :/ it's not a bug
problem solved !

Login to post a reply

Server time is: 2024-09-19 02:12:31
Your offset time is: 2024-09-19 02:12:31