Hey guys,
Just trying to think through how I'm going to setup my Angry Birds-like slingshot mechanic, and I could use your help thinking through the FSM logic.
I have a character who's going to cast a fishing line. I want the player to cast the line by clicking on a spot in the water, dragging backwards, and when they let go, the line shoots out a projectile. The projectile flies at a velocity equivalent to the amount that was pulled back.
I'd like to limit the amount of pull-back that can happen. So for example, if a player clicks at the very top of the "lake" that is furthest back, the pullback amount will cap out at a certain distance.
I also need a way to conver the pull back strength into a velocity amount for a physical projectile.
Thanks in advance for your help