Author Topic: TouchScript move another than touched  (Read 592 times)


  • Full Member
  • ***
  • Posts: 191
    • View Profile
TouchScript move another than touched
« on: July 15, 2017, 05:33:45 AM »
Hi good Old PlayMaker forum.
I used to be 100% Playmaker, these days I'm writing C#, but I miss you!

Now I'm stuck with TouchScript, and I noticed there's PlayMaker actions to that, so maybe there's one of you grand old PlayMaker guys that knows this, the TouchScript forum is totally dead.


In a 3D world:
Finger on Object A
Object B is (instantly) moved to Object A's Position. (I can do that)
WITHOUT lifting finger and re-touching Object B, I now need to move Object B along X&Z
(I cannot do that, only with a lift of finger, then replace on B, but that is not god enough, I need just to place a finger on A, then move B)

Any clue? Thanks!!


  • Administrator
  • Hero Member
  • *****
  • Posts: 4652
    • View Profile
    • jinxtergames
Re: TouchScript move another than touched
« Reply #1 on: July 15, 2017, 09:12:06 AM »
I did something similar recently for a inventory system.

i will try to explain what you could try :

Finger on GO-A and get the touch position, GO-B moves to GO-A,
Then Disable Collider from GO-A.
Then Raycast To select GO-B (you can use mouse pick for this) and place GO-B in a variable,
Next get touch info, set every frame and you can use the info on GO-B to move it