05-03-2019, 04:00 PM
(This post was last modified: 05-03-2019, 04:02 PM by josemendez.)
The invMasses array contains floats (scalars). You cannot assign a vector to a scalar value, it does not make sense:
Maybe you intended to use the "positions" array instead?
Code:
actor.invMasses[i] = new Vector3(0.0f, 0.05f, 0.0f);
Maybe you intended to use the "positions" array instead?