01-11-2020, 10:12 PM
Hi Obi
I'm curious if there is a reliable way of calculating the Maximum Rest Length based off of the pooled particle count. During my testing I've been setting my cursor length to Mathf.Infinity in the OnElementsGenerated callback of the instantiated rope and then resetting it to it's previous length to determine this. Just curious if there's a better way to go about it.
Thank you, and fantastic job on the Obi Rope asset!
I'm curious if there is a reliable way of calculating the Maximum Rest Length based off of the pooled particle count. During my testing I've been setting my cursor length to Mathf.Infinity in the OnElementsGenerated callback of the instantiated rope and then resetting it to it's previous length to determine this. Just curious if there's a better way to go about it.
Thank you, and fantastic job on the Obi Rope asset!