Dead3Force
Member
|
Hit Detection
Hello i recently discovered Esenthel and i couldn't be more pleased with it, but nothing is perfect and programming isn't something i master (i can only understand basic/average).
So what i need is some sort of tutorial or something that could teach me on how to especificaly add hit/colision detection to a character or npc in game, so that when object X hits some part of body it detects and with that i can add damage , etc...
Basicaly it's:
Sword -- Animation -- Hit -- Leg ( For this would be great to use the skeleton to add more variety to where the sword hits )
My sincere Thanks. Have a good day ...
Edit: Is there a way to add limits to a map so that the Chr can't walk there??
I know there are the paths but that only seems to work with the RTS games ...
All The Best...
|
|
06-18-2009 07:23 AM |
|
Esenthel
Administrator
|
Re: Hit Detection
Hi,
A lot of users are requesting precise hit collision detection on characters, so I think I'll add a tutorial about it.
Quote:Edit: Is there a way to add limits to a map so that the Chr can't walk there??
I know there are the paths but that only seems to work with the RTS games ...
The "Paths" apply only to the pathfinding algorithm (the character avoids red squares when moving).
But it doesn't affect walking manually.
You can always apply invisible physical bodies on the level (objects with actors but no meshes wich will act as blockades)
|
|
06-18-2009 10:18 AM |
|
Dead3Force
Member
|
Re: Hit Detection
Ok, thanks !!
When i have the engine doing what i want ( eheh ) i will present you the game i'm designing, it will be free but if i get positive comments i will think of lincensing it .
P.s. Sorry for my somewhat clumsy english , i'm from Portugal...
Have a nice day.
|
|
06-18-2009 11:20 AM |
|
menajev
Member
|
Re: Hit Detection
Esenthel Wrote:so I think I'll add a tutorial about it.
Don't forget about guys, who aren't using derived of Game::Obj, please.
|
|
06-18-2009 12:01 PM |
|