Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help  Calculating the pull on a pin constraint?
#5
(13-12-2018, 01:57 PM)josemendez Wrote: Yep. Use the constraint force getter method:

Code:
Oni.GetBatchConstraintForces(batch,constraintForces,constraintCount,startConstraint);

Returned forces are expressed in Newtons. See ObiPinConstraintBatch.cs BreakConstraints() method as an example on how to use it to determine when to break pin constraints when they're applying too much force.

Hi, I'm using Obi Rope V6.4. I don't see the BreakConstraints() method in ObiPinConstraintsBatch.cs. Has this been changed? Are there any other examples of how to use Oni.GetBatchConstraintForces.
Reply


Messages In This Thread
RE: Calculating the pull on a pin constraint? - by Destro26 - 09-12-2022, 11:00 PM