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
Zach
22
Years of Service
User Offline
Joined: 23rd Feb 2003
Location: Ms, USA
Posted: 24th Jul 2006 23:35
I have been developing a tech demo for my new ElderScrolls Rpg style game. Everthings been smooth up until now. my character can walk in 1st and 3rd person and attack and defend and so i decided
make an enemy to work out my collision and so forth. the collision between the character and the enemy works fine but the collision between the weapon and the enemy does not.
I've been trying to figure this out for days...i've tried everything i know to do but it wont work...the weapon is glued to the characters right hand(limb 9), the character is object 1 and the weapon object 2, the enemy is object 6
i coded it so that when there is collision between the character and the enemy it will say "collision" and when there is collision between the weapon and the enemy it will say "weapon collision" and the program will end but it simply wont detect the weapons collision...

any suggestions...?

sorry if the code is messy...



Tupelo, Ms
UFO
19
Years of Service
User Offline
Joined: 11th Oct 2005
Location:
Posted: 25th Jul 2006 02:53
Can I have the media too so I can run/comment on it? There's no way anyone can run it without the media.

Zach
22
Years of Service
User Offline
Joined: 23rd Feb 2003
Location: Ms, USA
Posted: 25th Jul 2006 06:18
sorry about the media i tried to load it the first time but
after i post the message it won't load the next page...?

Tupelo, Ms
Krilik
19
Years of Service
User Offline
Joined: 16th Mar 2006
Location: Arizona, USA
Posted: 25th Jul 2006 07:43
Without media its kind of hard to help you. The only advice I can give you is try removing the Set Object Collision On commands, and the Set Object Collision to Boxes. The default setting is on for all objects, and when you make a collision box for an object it sets the object to box collision automatically. I've had problems with collision and tried removing those commands because they were unnecessary and it solved my problems. Hope it helps.

Login to post a reply

Server time is: 2025-05-25 08:28:40
Your offset time is: 2025-05-25 08:28:40