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.

DarkBASIC Professional Discussion / Polygon collision ...

Author
Message
Matto
21
Years of Service
User Offline
Joined: 27th Aug 2002
Location:
Posted: 13th Nov 2002 01:55
I have a level object that has a few parts I need a player object (currently a sphere) to interact with in different ways ie: walls need x and z axis collision, y axis collision on paths etc.. so I figured polygonal collision was a must on this object Now I can get the code I have in place working ok when the level object is in .x format, when using the level object with polygonal collision and setting the player object to automatic collison the results are incredibly poor.. I mean out of several hundred polygons on the level object the player object goes straight through most if not 95% of polygons of the level object!! I will retest it with hand written collision but this is pretty poor so far, now I thought I shold test it with the .3ds version of the level object, when I load the same object as a .3ds object I get an instant error when running the exe and the same one is repeated everytime I use the .3ds level object. I have definatly got the problem down to the addition of the polygonal collision as the level object loads just fine without this collison on it, but it is pretty much usless without the polygonal collision.

Does anyone else find these problems with .3ds objects?, is it too large for polygonal collision in this format therefore working in .x and not .3ds? am I possibly missing something here?
heres the message I get when adding the collision to the .3ds object:~

LEARNING CITY caused an invalid page fault in
module DBPROBASIC3DDEBUG.DLL at 0177:0149dfbb.
Registers:
EAX=0149dfaf CS=0177 EIP=0149dfbb EFLGS=00010206
EBX=ffffffff SS=017f ESP=0064f264 EBP=0064f2b8
ECX=01600e50 DS=017f ESI=01600e50 FS=18b7
EDX=00000001 ES=017f EDI=00000000 GS=0000
Bytes at CS:EIP:
8b 07 ff 50 14 56 89 46 10 ff 35 bc cd 4d 01 8b
Stack dump:
00000000 0064f31c 01600610 ffffffff 00000000 01601a60 00000010 bff7b9b6 81d4a6d0 00000010 014c1d12 014ddd70 0064f2d8 014bff65 00000009 005f000c

"learning city" is the name I gave to the project ie: learning city.dba .

thanks for any help.
1ghz Cel,512 sdram 133,Gf2 MX 400 64,SBL 5.1,Win98
Best Upcoming MMOG - http://WWW.Atriarch.com
Project: Card Game with No Name

Login to post a reply

Server time is: 2024-04-19 03:01:00
Your offset time is: 2024-04-19 03:01:00