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--

GO



Similar Topics


Reading This Topic


Login
Existing Account
Email Address:


Password:


Social Logins

Select a Forum....

















A1VBCode Forums


Search