elit3gam3r at May 21st, 2011 08:58 — #1
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 ?
fireside at May 21st, 2011 10:43 — #2
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.
elit3gam3r at May 21st, 2011 19:13 — #3
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.
fireside at May 21st, 2011 22:14 — #4
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.
alphadog at May 25th, 2011 21:54 — #5
I am using a Engine