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.

DLL Talk / [NGC v.3] Collision Bugs

Author
Message
Deadwords
19
Years of Service
User Offline
Joined: 2nd Feb 2005
Location: Canada
Posted: 26th Feb 2006 23:03 Edited at: 26th Feb 2006 23:05
Hey everybody,
i would like to have help with my game's Collisions.
They are VERY messed up.
1. My character model goes half into walls
2. My character model goes into most of the meshes
3. My character fall into some places of the ground.
Here's a screenshot:

And this is all my NGC parameters:

And in my main loop:


Thanks, Skalex

Nobody can hear you scream ... you're on a forum!

Attachments

Login to view attachments
Lost in Thought
20
Years of Service
User Offline
Joined: 4th Feb 2004
Location: U.S.A. : Douglas, Georgia
Posted: 26th Feb 2006 23:23
Well v3 is verry buggy but your code is not sufficient either. You need to specify an ellip size for your object. Look at the examples that come with it.

Deadwords
19
Years of Service
User Offline
Joined: 2nd Feb 2005
Location: Canada
Posted: 27th Feb 2006 00:40
Well, i declared POLY_2_POLY, witch means Polygon to Polygon Collision, no settings required.

Nobody can hear you scream ... you're on a forum!
Lost in Thought
20
Years of Service
User Offline
Joined: 4th Feb 2004
Location: U.S.A. : Douglas, Georgia
Posted: 27th Feb 2006 21:07 Edited at: 27th Feb 2006 21:09
Poly to poly doesn't work in v3 (or any version ATM).

[edit] Your constants should look like this for v3:

#Constant NCULL_COUNTER_CLOCK 1
#Constant NCULL_CLOCK 2
#Constant NCULL_NONE 3

#Constant TYPE_NGC_ELLIP=1
#Constant TYPE_NGC_MESH=2

#Constant ELLIP_2_ELLIP=1
#Constant ELLIP_2_POLY=2

#Constant RESP_STICK=1
#Constant RESP_SLIDE=2
#Constant RESP_SLIDE_NO_SLOPES=3
#Constant RESP_SLIDE_NO_GRAV=4
#Constant RESP_SLIDE_NO_ACCEL=5
#Constant RESP_NONE=6

#Constant DYN_NO_RESP=1
#Constant DYN_RESP=2
#Constant DYN_RESP_NOTURN=3

Deadwords
19
Years of Service
User Offline
Joined: 2nd Feb 2005
Location: Canada
Posted: 28th Feb 2006 04:47
Ok thanks for clearing that out.
I hate Ellip collisions.
And thanks for the Constants.

Nobody can hear you scream ... you're on a forum!
JoelJ
21
Years of Service
User Offline
Joined: 8th Sep 2003
Location: UTAH
Posted: 2nd Mar 2006 18:58
Quote: "I hate Ellip collisions. "

and your CPU hates poly collisions


This just in: White lab coats cause cancer in mice. Details comming soon.
Benjamin
21
Years of Service
User Offline
Joined: 24th Nov 2002
Location: France
Posted: 2nd Mar 2006 19:25
Quote: "and your CPU hates poly collisions"

Mine loves them. It loves them so much infact, that it chews them slowly.

Tempest - P2P UDP Multiplayer Plugin - 70%
Deadwords
19
Years of Service
User Offline
Joined: 2nd Feb 2005
Location: Canada
Posted: 3rd Mar 2006 17:42 Edited at: 3rd Mar 2006 17:42
Quote: "and your CPU hates poly collisions"

Not mine... and I don't hate them too...

Nobody can hear you scream ... you're on a forum!
nuclear glory
21
Years of Service
User Offline
Joined: 2nd Oct 2003
Location:
Posted: 11th Mar 2006 09:33
Try the new engine. (v4.01)

It's out now. I'm going to put a "condemned - East Wing" sticker on the NGC v3.

Lead Programmer/Director
Powerful Collision DLL for DBPro and DBC: http://www.nuclearglory.com
Lightwave Scene Exporter to .X also at: http://www.nuclearglory.com

Login to post a reply

Server time is: 2024-11-21 23:36:39
Your offset time is: 2024-11-21 23:36:39