Visual Basic Code , VB.NET Code, VB Code
  Home   :  Code   :  Forums   :  Submit   :  Mailing List   :  About   :  Contact


How to check what object have you collide?


How to check what object have you collide?

Author
Message
maria_tachi
maria_tachi
Forum God
Forum God (1.3K reputation)Forum God (1.3K reputation)Forum God (1.3K reputation)Forum God (1.3K reputation)Forum God (1.3K reputation)Forum God (1.3K reputation)Forum God (1.3K reputation)Forum God (1.3K reputation)Forum God (1.3K reputation)

Group: Forum Members
Posts: 12, Visits: 11
Hi guys,

          Currently I using bounding box collision detection to make an animal eat some food. How can I use collision detection to differentiate what food I eat? For instance, I have two food grass and milk. I want the animal to know that it is some grass or a bowl of milk. Hence, how do I go about checking what food is it?

          I remember in C++ there is this function where you list down the object that you going to collide and check whether is it the one that you want. Hence, how does Vb.net works?

--Maria--

Manku_D
Manku_D
Forum God
Forum God (2.6K reputation)Forum God (2.6K reputation)Forum God (2.6K reputation)Forum God (2.6K reputation)Forum God (2.6K reputation)Forum God (2.6K reputation)Forum God (2.6K reputation)Forum God (2.6K reputation)Forum God (2.6K reputation)

Group: Forum Members
Posts: 7, Visits: 9
Hello Maria,

Just want to tell u that if u r a advanced user then u can download many examples from this site itself and u can know how to do the collosion i have done this but i cannot understand how to do if u can understand then plz tell me also.

If u want to different between milk and grass in ur game then u can gave some code or identity for milk and grass i think it will work.

Hope u will find this helpfull

bye take care Manku

Nothing to Say.

GO


Similar Topics


Reading This Topic


Login
Existing Account
Email Address:


Password:


Social Logins

Select a Forum....

















A1VBCode Forums


Search