Making a bat

daniel.robert.campbelldaniel.robert.campbell Member Posts: 251
edited November -1 in Working with GS (Mac)
I'm having some trouble making a "bat" in my game. I have a ball, and I want the player to be able to swing a bat at it. But I am having trouble getting the bat to react the way I want it to. Details of what I WANT the bat to do are below. Any advice you could give would be awesome. Thanks!

Basically the bat sits horizontally when idle. I want the player to push a button or key and that will cause the bat to draw back to a vertical angle. The rotation pivot should be on the handle (which I don't know how to do). After releasing the button the bat should swing forward at a greater speed than it drew back. It would also be nice if the bat swung through. Meaning that it swings past the perfectly horizontal mark by a few degrees before moving back to the idle position.

Again, any guidance people could give me would be greatly appreciated. /hug.

Comments

Sign In or Register to comment.