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 / Newbie question - difference between 'Object Hit' and 'Object Collision'

Author
Message
ccliffy
21
Years of Service
User Offline
Joined: 2nd Apr 2003
Location:
Posted: 13th Jul 2003 20:53
Hi,
Can anyone tell me the difference between the commands 'Object Hit' and 'Object Collision'. They seem quite similar. One must be better for certain situations.
Thanks,
Cliff
cusoi
21
Years of Service
User Offline
Joined: 3rd Jan 2003
Location: Netherlands
Posted: 14th Jul 2003 02:35
Object hit is when the object is hitting. So only a short period. Object collision is when they are inside eachother. So object hit is only in the following situation:


And object collision is also in the following situation:

I hope you understand what i just said.

Pentium IV 2.4 GHZ 256 MB Ram Geforce 4 TI 4200 128 MB
Visit my site: www.cuso.tk
Mattman
21
Years of Service
User Offline
Joined: 5th Jun 2003
Location: East Lansing
Posted: 14th Jul 2003 05:05
object hit happens before object colission

---Mattman
DID YOU KNOW THAT ???
cusoi
21
Years of Service
User Offline
Joined: 3rd Jan 2003
Location: Netherlands
Posted: 14th Jul 2003 12:14
Also right

Pentium IV 2.4 GHZ 256 MB Ram Geforce 4 TI 4200 128 MB
Visit my site: www.cuso.tk
iannai
21
Years of Service
User Offline
Joined: 10th Jul 2003
Location:
Posted: 14th Jul 2003 12:16
Aaaaaaah!!!!!!!!!

This is why my ball occasionally gets stuck to my walls in my 3D pong attempt

A big light just came on in my head

Isn't it funny how the totally obvious is only obvious once somebody tells you

Thanks ccliffy for this thread

Login to post a reply

Server time is: 2024-11-24 22:59:27
Your offset time is: 2024-11-24 22:59:27