Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help  Obi rope cutting not accurate
#7
(30-05-2022, 11:56 AM)martymayfly Wrote: Hi Jose, I have a problem with mobile builds, swipe and cut mechanic is not working on touch screens. Do you have any example for touch screens? Thanks!

Hi!

The swipe script included with Obi is just an example, you're supposed to write your own. Take a look at Unity's API for touch screen input, shouldn't be too hard to convert the sample script so that it uses touches instead:

https://docs.unity3d.com/ScriptReference/Input.html
https://docs.unity3d.com/ScriptReference...Touch.html
Reply


Messages In This Thread
Obi rope cutting not accurate - by debruw - 30-11-2021, 12:07 PM
RE: Obi rope cutting not accurate - by josemendez - 30-11-2021, 12:14 PM
RE: Obi rope cutting not accurate - by debruw - 30-11-2021, 12:40 PM
RE: Obi rope cutting not accurate - by josemendez - 30-11-2021, 12:47 PM
RE: Obi rope cutting not accurate - by debruw - 30-11-2021, 01:28 PM
RE: Obi rope cutting not accurate - by josemendez - 30-05-2022, 12:11 PM
RE: Obi rope cutting not accurate - by josemendez - 31-05-2022, 11:12 AM
RE: Obi rope cutting not accurate - by josemendez - 31-05-2022, 12:48 PM