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 / Nucluear Glory shpehe to collision help!

Author
Message
funchop
20
Years of Service
User Offline
Joined: 23rd Dec 2004
Location:
Posted: 19th Apr 2006 15:06 Edited at: 19th Apr 2006 15:13
Hi,

Could someone tell me what im doing wrong with this code?

Problem:
The collision system slows down the program DRAMATICALLY!!!!

and thats it - i must be doing something wrong



Cheers

Stew

[Mod Edit - Jess T]
Be careful posting your NGC key in the source code!
I've edited it out, but be more careful next time
[/Edit]

mash it up 'arry
Lost in Thought
21
Years of Service
User Offline
Joined: 4th Feb 2004
Location: U.S.A. : Douglas, Georgia
Posted: 19th Apr 2006 15:17
You can try at the very top of your program adding sync on : sync rate 0. Without the table madel thats about all I can think of. Also why are you using v3 instead of NGC v4 0_o

funchop
20
Years of Service
User Offline
Joined: 23rd Dec 2004
Location:
Posted: 19th Apr 2006 15:19
I do want V4. Where can i get it? www.nuclearglory.com seems to not be working, do you have link i can download it from?

Cheers

Stewart

mash it up 'arry
funchop
20
Years of Service
User Offline
Joined: 23rd Dec 2004
Location:
Posted: 19th Apr 2006 15:22
Also, i added sync rate 0 etc and now it runs fast! Thank you for that

But now i need help with getting the two objects to collide! They just pass through each other!

mash it up 'arry
Lost in Thought
21
Years of Service
User Offline
Joined: 4th Feb 2004
Location: U.S.A. : Douglas, Georgia
Posted: 19th Apr 2006 15:48
I think the registration part of the site is down for a short time for upgrades. Also v3 was buggy with rotations. You may try this:




nuclear glory
21
Years of Service
User Offline
Joined: 2nd Oct 2003
Location:
Posted: 19th Apr 2006 16:21
Yes, we're shifting servers so the site will appear to act up until Friday 6 PM - CDT.

Also, all v3 users receive free access to v4. If you contact me at [email protected] I can hook you up with a direct download link for v4.

Powerful Collision DLL for DBPro and DBC: http://www.nuclearglory.com
funchop
20
Years of Service
User Offline
Joined: 23rd Dec 2004
Location:
Posted: 19th Apr 2006 18:10
Cheers for your help, but it didnt quite work.

The sphere does collide, but it seems to be stopping in mid air!

I've attached the table.x file - it'd be great if you have any suggestions.

Cheers

Funchop

mash it up 'arry

Attachments

Login to view attachments
Lost in Thought
21
Years of Service
User Offline
Joined: 4th Feb 2004
Location: U.S.A. : Douglas, Georgia
Posted: 19th Apr 2006 22:20
What you need is this added right after your CollisionTypePRO( 1, TYPE_SPHERE ):

SetObjRadiusPRO( 1, 0.1, 0.1, 0.1 )

This will set your sphere size in collision memory to match your sphere size. The default size is 2.0 which is why your 0.2 sphere was so high off the table.

funchop
20
Years of Service
User Offline
Joined: 23rd Dec 2004
Location:
Posted: 20th Apr 2006 18:17
WOOHOO! Thanks a lot for everyones help! Got it working perfectly now!

mash it up 'arry
Lost in Thought
21
Years of Service
User Offline
Joined: 4th Feb 2004
Location: U.S.A. : Douglas, Georgia
Posted: 20th Apr 2006 19:18
Glad you got it working.

Login to post a reply

Server time is: 2025-05-18 21:25:29
Your offset time is: 2025-05-18 21:25:29