Cannot set first frame

Slate Forums Support Cannot set first frame

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1571
    uniday
    Participant

    Hello, there!

    I have an issue with rewinding to first frame of the cutscene.
    My cutscene has property track, and it changes ParticleSystem properties: emission, emission rate, etc.

    When i call .Stop(Cutscene.StopMode.Rewind), i assume that all the properties will be set as in first frame of the cutscene, but this is not happens.
    At the first frame all my ParticleSystems are disabled, and i want to set first frame at scene start to interrupt them from playing.

    I tried different ways to achieve these, and every time i failed 🙂

    Here is a screencast of what i have, and what code i use:
    https://yadi.sk/i/60e5xrXH3Wu2n9

    Please help me to understand whats wrong.. Thank you!

    #1572
    Gavalakis
    Keymaster

    Hello!

    I have just replied to your email about this issue 🙂
    To recap, you need to set the initial state (in the case the emission disabled), in the editor, outside and before starting playing or previewing the cutscene.
    Once the cutscene starts, the initial state of the object will be stored, and once the cutscene is rewinded, that initial state will be restored.

    Let me know if that worked for you.
    Thanks!

    Join us on Discord: https://discord.gg/97q2Rjh

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.