How to set collider for runner game’s main character?
Basically I was setting box or capsule type collider in game. This colliers work for you if you have only running and jumping action to perform.
But what if I have to perform sliding and hit action?? I have animation clip for this purpose then how can I attach colliders for those actions!!
Please if you have experience regarding this genre of game then give me some ideas. Thanks for giving me your time.
If I’m correct you can attach events to animations, so you could attach an event to the sliding animation and in the events code you resize the collider.
I believe this tutorial could help you:
http://unity3d.com/learn/tutorials/modules/beginner/animation/animation-curves-events?playlist=17099
@nickyoso1 Thanks for your reply. I seen video you have suggested. But I have question if I edit collider value runtime then it may not generate collision even several time. What you think about this?
As well how to create fight sequences for Stickman Fight kind of game?
https://play.google.com/store/apps/details?id=air.com.nigelanglin.stickmanfighterLITE