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 / I need help with my Nuclear Glory collision code.

Author
Message
The Nerd
19
Years of Service
User Offline
Joined: 5th Jun 2004
Location: Denmark
Posted: 6th May 2005 19:55 Edited at: 6th May 2005 21:05
Hi!


Im making a game and need some help.

I have a car and a level(Both in x format).

Now the collision won't work!
the car is just falling right trough the level.
Here's the code i use:



If someone knows what's wrong then please help!


Thanks!


-The Nerd

Visit PanzerGames here
dugzilla
20
Years of Service
User Offline
Joined: 5th Aug 2003
Location:
Posted: 6th May 2005 20:30 Edited at: 6th May 2005 20:36
Please use edit button to take out you nuclear glory key code. This
is suppose to be seen only by you.
If you are using version 3 then stop. If you don't have version 2 then email ng for detail to get older version. Ver. 3 is badly bugged.
The Nerd
19
Years of Service
User Offline
Joined: 5th Jun 2004
Location: Denmark
Posted: 6th May 2005 21:04 Edited at: 6th May 2005 21:14
SORRY!!! Forgot about the key thing!! removed now

[EDIT]:

Well i don't think it have anything to to with the bugs in the geometry. Because if i set "setoctreebuild(0)" On it still fall through..
I think i have made a mistake in the code but i just can't find it.

Visit PanzerGames here
Lost in Thought
20
Years of Service
User Offline
Joined: 4th Feb 2004
Location: U.S.A. : Douglas, Georgia
Posted: 6th May 2005 21:28 Edited at: 6th May 2005 21:32
There is another bug as well that will cause you to fall through the floor. If your object is scaled too big, your SetObjRadiusPRO values are too big or too small, or if your SetObjRadiusPRO are not all even (x,y,z must be equal in most cases) you may fall through the floor.

[edit] And always use the scaleobjectpro replacement command for scale object when scaling objects that NGC use.

Login to post a reply

Server time is: 2024-04-28 01:58:53
Your offset time is: 2024-04-28 01:58:53