Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Attaching to Rope, Jitter.
#1
I've been looking at several solutions to connecting something / object to a rope. 

I ended up using this: 

Code:
pathSmoother = ropeComp.GetComponent<ObiPathSmoother>();
ObiPathFrame section = pathSmoother.GetSectionAt(ropePosition);
 m_Character.transform.position = pathSmoother.transform.TransformPoint(section.position);

to move the character to the rope position.  But my rope is attached to a boat and I'm getting a lot of jitter, moving forward and back on the rope, think it's because of stretching. 
I also Tried LateUpdate, FixedUpdate.   But still pops / jitters ups and down the rope. 

Would Pin Constraint be more stable?  
I couldn't find any code examples. 

Maybe because I don't understand how to read the doc correctly - Hahaha!
any ideas welcome Thanks!
Reply


Messages In This Thread
Attaching to Rope, Jitter. - by idmah - 07-12-2022, 06:39 PM
RE: Attaching to Rope, Jitter. - by josemendez - 07-12-2022, 08:07 PM
RE: Attaching to Rope, Jitter. - by idmah - 08-12-2022, 04:34 AM
RE: Attaching to Rope, Jitter. - by josemendez - 08-12-2022, 10:02 AM
RE: Attaching to Rope, Jitter. - by idmah - 09-12-2022, 08:36 PM
RE: Attaching to Rope, Jitter. - by idmah - 09-12-2022, 11:08 PM
RE: Attaching to Rope, Jitter. - by josemendez - 10-12-2022, 11:27 AM