[this is just one possible way]
1. Create a moveMap key for the right click
2. Create a function that gets called from your moveMap assignment
3. Play an animation of the character stabbing
4. Cast a short ray in front of the character and test for collision
5. If collision occurs, calculate damage on struck object if it is an entity.
Employee Michael Perry
ZombieShortbus
1. Create a moveMap key for the right click
2. Create a function that gets called from your moveMap assignment
3. Play an animation of the character stabbing
4. Cast a short ray in front of the character and test for collision
5. If collision occurs, calculate damage on struck object if it is an entity.