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 / stop hiting things

Author
Message
steve c
21
Years of Service
User Offline
Joined: 30th Jan 2004
Location: united kingdom
Posted: 27th Nov 2004 23:51
i am making a game and u drive a tank around but if you see another tank and drive into it it just goes through it i have tried distance checks but it still went through it what am i doing wrong pls

current projects
codename : tasgarad
computer
20
Years of Service
User Offline
Joined: 5th Oct 2004
Location:
Posted: 28th Nov 2004 21:32
Don't forget the corners of the tank. You can do collision. Make a huge bounding box around the tank, you may be able to make this a limb so it stays with the tank. I have no idea how to do this or if collision boxes can be glued to objects. or X models.

If there is a collision stop the tank dead. Maybe give it a wiggle and a crunch sound.

Yes there will be coding problems.

Login to post a reply

Server time is: 2025-05-24 16:57:26
Your offset time is: 2025-05-24 16:57:26