20-02-2024, 09:11 AM
(20-02-2024, 08:53 AM)josemendez Wrote: Hi!
Just setting particle positions and velocities should not affect how collision detection between ropes behaves in any way.
When loading the saved positions/velocities on a rope, is this rope (the one in the prefab you load) the same one you used to save the positions? I mean, is every other per-particle property the same (collision filters, mass, etc), and are constraints also the same?
kind regards
Thanx for the answer!
yes, I created a rope prefab.
And load it in level editor before editing and in real game before loading positions and velocities. Filters, mass, etc are the same.
May be I should wait for blueprint loading before setting particles positions? BecauseĀ I RestoreRopeFromJSONObject right after instantiating the prefab with ropes (template)