Inverse touch

Ask for help and post bugs.

Inverse touch

Postby Danielm » Wed May 23, 2018 8:51 pm

I am developing a game where as a part of a power down effect, the player controls should be inversed.
The player's movement goes on the X axis only, and is bounded (by a script), where you can only move from left to right and right to left, like a slider.
I wonder how can i achieve this inversed controls effect using TouchScript.
Thank you.
Posts: 3
Joined: Sat May 19, 2018 10:53 pm

Re: Inverse touch

Postby SlaggyWolfie » Wed May 23, 2018 10:05 pm

If you're using the Transform Gesture perhaps unless it's on the same object as the player, I would try rotating the object by 180 degrees on the Z axis. I am unsure if this will achieve the intended result...

However if you're directly using something like the Transform Gesture's? DeltaPosition and just negating it.
Posts: 8
Joined: Wed May 23, 2018 5:12 pm

Return to Help and Bugs

Who is online

Users browsing this forum: No registered users and 2 guests