I'm tinkering with SoftBody rope and can't figure out when to use a few functions present in the demo. Specifically:
Code: Select all
m_sparsesdf.RemoveReferences()
m_sparsesdf.GarbageCollect()
Can anyone explain what these do? RemoveReferences seems to be called only on init, but GarbageCollect is called every step. I tried looking at the source to figure it out but I don't understand a bit of it :/