Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help  Obi rope cutting not accurate
#8
(30-05-2022, 12:11 PM)josemendez Wrote: 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

Hi, 
First of all, your script is working in Unity but it is not working when i build on a real device (Samsung S7, iPhone 7..). By the way, Input.GetMouseButtonDown(0) can also be used for touch screens. But I have also tried Input.GetTouch in the code and build on a real device and nothing changed. 

Have you tested before Obi Rope swipe cut on mobile real devices? I'm working on mobile gaming and chose the Obi Rope to use on mobile. So, I will appreciate if you try on real devices and help me.
Thanks.
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 martymayfly - 31-05-2022, 11:03 AM
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