Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to set relaxed state on first frame? (Sth. similar to prewarm?)
#6
(27-04-2020, 05:05 PM)josemendez Wrote: Woops, there's a small detail that prevents assigning the blueprint manually from the editor, only allowing to do it programmatically. In ObiRopeBlueprintBase.cs, lines 48-51:

protected void OnValidate()
       {
           GenerateImmediate();
       }

Blueprints are automatically re-generated from the rope path when they're validated (and they're validated when you drag them around in editor, so by dragging it the blueprint is being reset to match the rope path). This is already taken care of the rope editor itself, so comment out the GenerateImmediate(); line. Things will works as expected now.

Hi, I can't find ObiRopeBlueprintBase.cs file for this tip. Did something chaange?
Reply


Messages In This Thread
RE: How to set relaxed state on first frame? (Sth. similar to prewarm?) - by greyhawk - 19-11-2021, 10:14 AM