Playmaker Forum
PlayMaker Help & Tips => Android Help => Topic started by: thorntonp72 on October 21, 2022, 12:50:34 AM
-
Hi,
I am trying to work out how to get my spaceship (aka player) move to the point where I am touching the screen and as I move my finger it follows it around.
I have tried various techniques but cannot seem to get this to work.
My object has a Box collider and I have tried a couple of C# scripts, but I am really trying to avoid going down that pathway as it's not why I bought Playmaker for.
Is there any Tutorials on this as I cannot see one or see how to do this?
Thank you
-
I have tried the following, but all it seems to do is place the ship at (what it looks like) top/let, top/right, bottom/left and bottom/right in a fast and random mode.
FSM
Start -> State1
Get Touch info
Finger ID (None)
Store X - playerPositionX
Store Y - playerPositionY
every Frame - Checked
Move Position
Use Owner
X = playerPositionX
Y = playerPositionY
Space = Self
EveryFrame
-
Solved.
Please refer to on how to do this.
Thank you