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.

3 Dimensional Chat / Object Hit

Author
Message
Legionare
21
Years of Service
User Offline
Joined: 6th Apr 2003
Location:
Posted: 7th Apr 2003 13:34
i got Object Hit to work for my FPS game just that
it slows the game down heaps, anyone know how to speed thngs up
or any solutions?
Macdooth
21
Years of Service
User Offline
Joined: 28th Mar 2003
Location: United Kingdom
Posted: 8th Apr 2003 17:02
If you look at your darkbasic manual, there is a snippet of code that explains the use of maths collision detection. Its much faster and more efficient.
arras
21
Years of Service
User Offline
Joined: 3rd Feb 2003
Location: Slovakia
Posted: 8th Apr 2003 17:12
And less accurate, because it uses ball colision. Means, that it calculate collision based on distance from center of both object and if they close enought it declare collision.

Sometimes its OK but sometimes you need more precise detection.
Fot that its good to use math. collision in general and if it detect collision use DB colision detection commands to check if it realy colide.

Login to post a reply

Server time is: 2024-05-04 02:55:33
Your offset time is: 2024-05-04 02:55:33