20-11-2018, 08:13 AM
(This post was last modified: 20-11-2018, 08:14 AM by josemendez.)
(19-11-2018, 04:40 PM)imtehQ Wrote:Code:rope.invMasses[0] = 10;
However this will make the rope segment be 0.11 mass.
How is the mass beeing calculated here?
where 1 = 1 mass but 10 is 0.11
as the name (inverse mass) implies, this is 1/mass.
It is a common optimization in engines to work with inverse mass instead of mass, as many equations involve dividing by the mass.