Hi There,
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 ?
Regards
Andy
Adding in collision ?
Started by Elit3Gam3r, May 21 2011 12:58 PM
4 replies to this topic
#1
Posted 21 May 2011 - 12:58 PM
#2
Posted 21 May 2011 - 02:43 PM
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.
Currently using Blender and Unity.
#3
Posted 21 May 2011 - 11:13 PM
My apologise,
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.
Scene.GetCollision
The parameters of this is
GetCollision(Position as Vecter3d,[BestDistance as single = 1]) as Boolen
i hope this Helps a little more.
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.
Scene.GetCollision
The parameters of this is
GetCollision(Position as Vecter3d,[BestDistance as single = 1]) as Boolen
i hope this Helps a little more.
#4
Posted 22 May 2011 - 02:14 AM
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.
Currently using Blender and Unity.
#5
Posted 26 May 2011 - 01:54 AM
Elit3Gam3r said:
I am using a Engine
Which one?
Hyperbole is, like, the absolute best, most wonderful thing ever! However, you'd be an idiot to not think dogmatism is always bad.
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users












