08-02-2022, 11:46 AM
(This post was last modified: 08-02-2022, 11:47 AM by josemendez.)
Is the rope attached to something? Seems to be just floating in zero gravity... changing rope length will add inertia: new particles = more mass, which gets added to the rope suddenly (since ropes are discretized, not continuous) and this mass is not placed where it would minimize energy. The result is altered momentum.
Generally speaking, you can't assume momentum conservation while resizing ropes at runtime. This is not an issue if the rope is under any external forces since these are generally much larger than any spurious energy added by the cursor, but in zero gravity and zero damping this will almost always cause the rope to start moving.
Generally speaking, you can't assume momentum conservation while resizing ropes at runtime. This is not an issue if the rope is under any external forces since these are generally much larger than any spurious energy added by the cursor, but in zero gravity and zero damping this will almost always cause the rope to start moving.