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.

Newcomers DBPro Corner / Problem with moving bullets help!!!!

Author
Message
Neil19533
21
Years of Service
User Offline
Joined: 30th Aug 2003
Location: England
Posted: 10th Nov 2003 04:01
I was makeing a gun shoot finally got it working but to make it move fast using:
move object bullet,number
but putting it up to a fast speed makes it "jump" say 300 600 900 but if i wanted to shoot the object within those cordinants it would miss it so how could i move the objects fast without this "jumping effect"
the_winch
21
Years of Service
User Offline
Joined: 1st Feb 2003
Location: Oxford, UK
Posted: 10th Nov 2003 05:27
You could use intesect object to see if the bullet would hit anything in the gaps.

p166mmx @ 233 : 256mb : sb 128pci : sis onboard
hexGEAR
22
Years of Service
User Offline
Joined: 3rd Nov 2002
Location: Naytonia
Posted: 10th Nov 2003 14:49 Edited at: 10th Nov 2003 14:49
i understand, the faster the bullet, the more inaccurate the collision detection, i guess you could have several "movement/collision detection" blocks per loop of your code, kinda like:

do
move object
check for collision
move object
check for collision
......
sync
loop

not sure about the reaction, might be jerky, reduce performance, etc but it's worth a try

HIH

Login to post a reply

Server time is: 2024-11-25 16:53:19
Your offset time is: 2024-11-25 16:53:19