I have just started back on my game again and have hit a dead spot im not sure how to create collision with players.
What am i talking about ?
well when i shoot my gun id like it to take the bot's health down ect..
could any one explain this or have code to show how its done ?
Apparently you aren't used to asking questions on a forum. You need to give a little more information. For instance, what language are you using? Are you using an engine? Your question is actually related to collision response, rather than collision, so do you have collision worked out yet? One of the best ways beyond being more specific, is to show a little code that pertains to the situation. Not a lot, just the area in question.
I'm Using VB6 and yes I am using a Engine.
i have looked through every class the engine calls to see what part is involved with collision. The only one that had Collision was.
The parameters of this is
GetCollision(Position as Vecter3d,[BestDistance as single = 1]) as Boolen
i hope this Helps a little more.
My guess is there is an object or entity class which also has a collision function. The forum for the particular engine you are using might be a better place to ask questions like this.
I am using a Engine