18-09-2022, 12:31 PM
the position is return the correct Vector3:
but if I want to get the rotation:
that returns allways 0,0,0,1, also eulerAngles return 0,0,0
Code:
var ropeParticleUpPosition = _solverPosition + rope.solver.positions[upChainParticleIndex].ToVector3();
but if I want to get the rotation:
Code:
var ropeParticleUpRotation = rope.solver.orientations[upChainParticleIndex];