Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help  Weird behaviour
#12
(21-04-2021, 08:45 AM)dhon2407 Wrote: If by any chance, we can get the world position at the end of the rope? Maybe I can just move the model to that point manually by script.


Upload and share screenshots and images - print screen online | Snipboard.io

You can use the "ObiRopeAttach" utility script (/Obi/Scripts/RopeAndRod/Utils/ObiRopeAttach.cs). You place it on an object, and then you can pass a normalized length parameter (in the 0,1 range, 0 being the start of the rope and 1 the end). The object will be moved to that point in the rope.

However this won't enable any two-way coupling between the object and the rope, the object will blindly follow the rope.
Reply


Messages In This Thread
Weird behaviour - by dhon2407 - 16-04-2021, 08:28 AM
RE: Weird behaviour - by josemendez - 16-04-2021, 08:34 AM
RE: Weird behaviour - by dhon2407 - 16-04-2021, 10:04 AM
RE: Weird behaviour - by josemendez - 16-04-2021, 10:11 AM
RE: Weird behaviour - by dhon2407 - 16-04-2021, 10:34 AM
RE: Weird behaviour - by dhon2407 - 20-04-2021, 10:35 AM
RE: Weird behaviour - by josemendez - 20-04-2021, 11:32 AM
RE: Weird behaviour - by dhon2407 - 20-04-2021, 11:51 AM
RE: Weird behaviour - by dhon2407 - 21-04-2021, 08:24 AM
RE: Weird behaviour - by josemendez - 21-04-2021, 08:31 AM
RE: Weird behaviour - by dhon2407 - 21-04-2021, 08:45 AM
RE: Weird behaviour - by josemendez - 21-04-2021, 08:59 AM