Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help  Rope saving and restore
#3
(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)
Reply


Messages In This Thread
Rope saving and restore - by Apoll0 - 20-02-2024, 08:27 AM
RE: Rope saving and restore - by josemendez - 20-02-2024, 08:53 AM
RE: Rope saving and restore - by Apoll0 - 20-02-2024, 09:11 AM
RE: Rope saving and restore - by josemendez - 20-02-2024, 09:23 AM