- Home /
Player Hit Physics implementation using 2D Animation Frames
I want to implement my 2d player doggy hitting, I have already frames available for hitting left side and right side. Here you have those, left and right hitting animation frames:
Now I want to hit the coming ball from either direction so what kind of implementation shall I require to implement for this?
Basically, the ball is coming from the left or right direction and we have to hit it otherwise it gets collide with player doggy and it will be game over.
Now the ball has circle collider attached with the 2d rigid body now at the right frame I require to detect that and hit the coming ball. Please provide me some suggestion for this.
Your answer
Follow this Question
Related Questions
Gameobject not detecting collison from other Box Collider 2D [SOLVED?] 2 Answers
Can't detect colliders from Tiled 0 Answers
Detecting whether or not 2 objects are colliding in update() 2 Answers
How do I stop characters from standing on top of each other 1 Answer
My OnCollisionEnter says i have 128 Collisions every collision 1 Answer