Hey Guys thx for reading.
I tried different things but non of them worked right till now… Everytime the User touches the screen and moves it around it should leave a trail behind the finger as you can see it in many different mobile games like fe. Fruit Ninja.
The answer may be banal but I really want this to work out right so Im asking you Pros.
Every Answer is highly appreciated and please ask if something is unclear.
Thx =)
Hi,
You can try one of the few gesture plugins. They are not free, but reasonably priced.
- Input Touches - Demo is here and the store link is here. In particular, see the swipe example.
- Easy Touch - Demo is here and the store link is here. In particular, see the one finger example, and swipe your mouse there.
- If these didn’t help, see Finger Gestures. A little pricier but belongs in this list.
EDIT:
Here is how to do a mouse and touch trail with Input Touches plugin and Trail Renderer.
- Open a project with Input Touches imported.
- Make your camera orthographic.
- Drag the Input Touches prefab (from the Input Prefabs folder) to your scene.
- Create an empty object, and attach a trail renderer component to it.
- Make sure you set up the trail correctly, with a proper particle material. If you don’t have one, import the Particles standard package.
- Make sure your empty object is properly positioned in the world. You should see a sample trail in the game window, when you move the object in the scene window.
- If all up to here is good, add [1783-dragme-cs.txt|1783] to your Trail game object.
Hope this helps.