i am making a boxing game. do you think i should make an empty game object and give it a box collider property and parent it to the boxers hands, and do it for the AI boxer too. then i should make a punch, health, etc script.
i was thinking in the punch script shall i play an animation when a button is pressed and then when the box collider, collides with the AI boxer it will damage the boxer AI. is this how you would do it?
We both know you need a script for the gta clone fighting part, hm?
Yes, or a sphere collider.
I would disable the hands colliders if not punching, or blocking. Turn it on when punching or blocking. Then, if contact is made with the enemy, if not using physics, use animations to demonstrate the impact of the blow.
lol i was thinking of making a boxing game. when i finish the boxing game i might put it in the gta clone.
I hope you know how complicate fighting simulations could be, maybe more than cloneing gta…
i found a boxing starter kit in unity asset store but i don’t want to buy that
Sorry but I hardly think you underrate the work (and what knowledge you need) of your projects.