Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help  Teleporting rope across scene causes rope to behave like slingshot)
#2
Hi,

If the solver is part of the character's hierarchy, there's no need to do any of this as changing the position of the entire character would automatically reposition the rope (since simulation is performed in the solver's local space, as stated in the manual:http://obi.virtualmethodstudio.com/tutorials/obisolver.html). Having the solver as part of the character is also recommended to avoid floating point precision issues.

If the solver is outside the character hierarchy (which isn't a good idea in general), then your script should work. Can you give a bit of context regarding how and when you're calling TeleportRope()?
Reply


Messages In This Thread
RE: Teleporting rope across scene causes rope to behave like slingshot) - by josemendez - 28-08-2020, 03:15 PM