Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help  Obi Rope path tracking
#5
(29-11-2022, 10:27 AM)josemendez Wrote: Then it may be simpler to get  an orthonormal frame from the rope, which you can do by calling ObiPathSmoother's GetSectionAt(float mu) method. Given a normalized coordinate in the (0,1) range, it will return an orthonormal frame in the rope (containing position, normal, tangent, binormal).

Code:
var frame = rope.GetComponent<ObiPathSmoother>().GetSectionAt(0.5); // get frame at the middle of the rope.
it was very good i edited it as i wanted thank you so much
Reply


Messages In This Thread
Obi Rope path tracking - by RuralSculpture - 29-11-2022, 09:34 AM
RE: Obi Rope path tracking - by josemendez - 29-11-2022, 09:50 AM
RE: Obi Rope path tracking - by RuralSculpture - 29-11-2022, 10:24 AM
RE: Obi Rope path tracking - by josemendez - 29-11-2022, 10:27 AM
RE: Obi Rope path tracking - by RuralSculpture - 29-11-2022, 12:53 PM