3D slingshot
OK so this is a bit complicated. I need to make a code that allows me to fling my character in any direction 360 degrees. So kinda like the Angry birds sling shot but i need to also be able to change the direction I am flinging. if this is not clear i can draw a picture to help explain. Anyway i found this line of code (rigidbody.velocity = (transform.position - aim.position) * factor; ) that I am pretty sure would take care of the power i just need to add the rotation ability. also i still seem to struggle with knowing where to put certain lines of code. So a full script outline of where things go would be great.
Comment
Your answer