Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to set relaxed state on first frame? (Sth. similar to prewarm?)
#5
Works like a charm, thank you very much Gran sonrisa

SaveStateToBlueprint is not documented right? Is there another place I could have found that function?
http://obi.virtualmethodstudio.com/api.html



mmmhh it is still not entirely without any issues. For anyone else missing this feature:
if I comment out the GenerateImmediate(); line most things keep working as expected but when I change a property on a blueprint like resolution or thickness the ropes don't get updated with this new information.
You need to call GenerateImmediate from a custom inspector of/like ObiRopeBlueprintEditor. This still clears the initialized state, but that is okay since changing the blueprint changes amount of particles etc too.
Reply


Messages In This Thread
RE: How to set relaxed state on first frame? (Sth. similar to prewarm?) - by fleity - 27-04-2020, 06:00 PM