05-03-2019, 04:05 PM
(05-03-2019, 04:00 PM)josemendez Wrote: The invMasses array contains floats (scalars). You cannot assign a vector to a scalar value, it does not make sense:
Code:actor.invMasses[i] = new Vector3(0.0f, 0.05f, 0.0f);
Maybe you intended to use the "positions" array instead?
I think you said obi cloth can move by vector, not transform. How can I move by vector on script?