Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help  Obi rope cutting not accurate
#9
(31-05-2022, 11:03 AM)martymayfly Wrote: 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.

Hi,

Just tested the script on iOS (iPhone 7) and it works just fine.
Have you checked the console in XCode for null ref errors or other issues that would be preventing the script from running at all?

(31-05-2022, 11:03 AM)martymayfly Wrote: By the way, Input.GetMouseButtonDown(0) can also be used for touch screens.

Only if Input.simulateMouseWithTouches is enabled, and even then it only works for 1 touch (the first one). This is mentioned in the script's comments:

Code:
/**
 * Very simple mouse-based input. Not ideal for multitouch screens as it only supports one finger, though.
 */
private void ProcessInput()
    {
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