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 Discussion / Collision Problem

Author
Message
Bladerunner
21
Years of Service
User Offline
Joined: 24th Aug 2003
Location: United States
Posted: 14th Jan 2004 02:08
Ok theres one thing i don really understand at all and thats collision. if Someone Could just Make collision on one of my objects then i can work off off that or explain it to me because the example doesn't really help. I gonna post my Whole Code Wit This



Live as if your were to die tomorrow... Learn as if you were to live forever
Impossible is a word to be found only in the dictionary of fools
Jess T
Retired Moderator
21
Years of Service
User Offline
Joined: 20th Sep 2003
Location: Over There... Kablam!
Posted: 14th Jan 2004 04:16
If Object Collision(obj,0) = 1 Then objx = oldx : objz = oldz

There ya go, a nice simple collision system to work off of.

Hope I Helped...


Team EOD :: Programmer/Logical Engineer/All-Round Nice Guy
Bladerunner
21
Years of Service
User Offline
Joined: 24th Aug 2003
Location: United States
Posted: 14th Jan 2004 04:48
It Helped and didn't help. Yes thats probably the basic code for collision but i have no idea where to go from that i mean can u either write a collision for one of my object like my house and i can work off of that to learn how to do that to rest or explain to me the rest of a collision code.

Live as if your were to die tomorrow... Learn as if you were to live forever
Impossible is a word to be found only in the dictionary of fools
BatVink
Moderator
22
Years of Service
User Offline
Joined: 4th Apr 2003
Location: Gods own County, UK
Posted: 14th Jan 2004 15:55
I know I keep banging on about it, but you should really try Nuclear Glory's collision dll. I did my own collision in my first project. Then I d/loaded the NG freeware version, and within an hour I ordered the full version.

It really is that good.

BatVink (formerly StevieVee)
http://facepaint.me.uk/catalog/default.php

Login to post a reply

Server time is: 2025-06-05 20:22:22
Your offset time is: 2025-06-05 20:22:22