Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help  Lost solver parameter from rope
#3
(01-09-2020, 11:24 AM)josemendez Wrote: Prefab management is entirely done by Unity, not Obi. This entirely depends on how you're setting the m_ActualRope variable in your script. Is this a public reference that you're dragging the rope into in prefab edit mode? Are you setting this variable trough code in Awake() or Start()?
Yes, it is a public variable, I drag the child (the rope) to the script that is located on the solver.
The subscription is done on the awake method.

PS: Obi solver and the rope are not prefabs, the two gameobjects with rigidbodies are the prefabs.
Reply


Messages In This Thread
Lost solver parameter from rope - by flaurens - 01-09-2020, 11:17 AM
RE: Lost solver parameter from rope - by flaurens - 01-09-2020, 11:25 AM
RE: Lost solver parameter from rope - by flaurens - 01-09-2020, 11:44 AM