Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help  Save and restore the state of the rops in the scene.
#1
In the same scene, there are multiple Obi Ropes. After moving them differently within the game, is it possible to save their current positions to a text file or something similar, and then, at a different time, load them back to the same positions and shapes?
Reply
#2
(15-08-2023, 05:56 PM)murathan Wrote: In the same scene, there are multiple Obi Ropes. After moving them differently within the game, is it possible to save their current positions to a text file or something similar, and then, at a different time, load them back to the same positions and shapes?

Hi,

Yes, you can both get and set all per-particle properties (position, velocity, orientation, and so on). See:
http://obi.virtualmethodstudio.com/manua...icles.html

Writing/reading these to/from an external file is up to you.

kind regards,
Reply