Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help  Obi rope cutting not accurate
#4
(30-11-2021, 12:40 PM)debruw Wrote: Yes, i am using the script from sample scene.

So we're talking about the RopeSweepCut script, right? This should work fine, all it does is take Input.mousePosition, unproject it to world space and calculate a line-line intersection.

Just make sure the camera object you've dragged into the script's "cam" property is the one you're actually looking trough. Otherwise it won't work.
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