Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Pin constraints not breaking in 4.x?
#11
(21-02-2019, 12:17 PM)autopsyturvey Wrote: Hmm. This is a mystery, then. My breaking thresholds are suitably low (0.1 is what was working before and I've tried .0001 etc).

Delving into the Obi code, at ObiPinConstraintBatch.cs -> BreakConstraints(), I've added a debug line:



and that's never printing to the console, ie., all checked constraintForces indexes are always zero.

I haven't got as far as to figure out where that array is updated, presumably by a Solver.

Also, whereabouts might I be able to check whether I definitely have the changes made in 4.0.2?

Thanks again!

Ric

Hi,

The same debug.log() does print the correct force for me. To make sure you have 4.0.2 installed, remove the /Obi folder, reimport the package and restart Unity.
Reply


Messages In This Thread
RE: Pin constraints not breaking in 4.x? - by josemendez - 21-02-2019, 06:57 PM