Pulling Back on my actor without moving him
millerbrother1
Member Posts: 108
I'm troubleshooting an issue with my game where I allow the user to pull down on an actor in preparation for a "super jump". It squishes the actor (image swap) and allows the finger of the user to adjust the angle of launch for the jump. However, when I pull down on the actor I don't want him to move with the user's finger. I want the actor to stay put on the ground plain and use the finger distance from the actor to determine the leap strength.
I have a feeling my error is hidden in this code. (see tinypic link below)
http://i35.tinypic.com/24wvio2.png
Next up I'll be creating a "pool cue" type of elastic line between the finger and the actor. Also, I need to pre-visualize the leap in a ghosted arc, but that's my next challenge. Right now I need to get my actor to stay put and not drop with the user's finger.
Any help will be appreciated.
I have a feeling my error is hidden in this code. (see tinypic link below)
http://i35.tinypic.com/24wvio2.png
Next up I'll be creating a "pool cue" type of elastic line between the finger and the actor. Also, I need to pre-visualize the leap in a ghosted arc, but that's my next challenge. Right now I need to get my actor to stay put and not drop with the user's finger.
Any help will be appreciated.
Comments
I have a arrow demo on my wall that may help.
Great arrow demo. Thanks for sharing the work you did on it. I'm still running into an issue with my actor dropping below the ground plain.
I noticed in your arrow demo the arrow "spins" slightly on first touch. Is there a way to eliminate this as well?
- Chris