DOShake doesn't return to original position

FlowCanvas Forums Support DOShake doesn't return to original position

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #2693
    elvisish
    Participant

    I’ve tried using both the extensions and the reflected shortcuts and I cannot seem to find a way of getting DoShake or Shake Position to return to the original position at the end of the shake. The object I’m shaking is a child object at 0,0.6,0.5 and with the reflected DoShake node, 0.6 and 0.5 seem to return close enough (more like 0.599 and 0.499) but 0 can be anything from -3 to -8 at crazy positions. If I change this to 0.1, 0.01 or 0.001 (not 0.0001 or higher) it will be okay, returning something like 0.009 for 0.01. Is there any way of getting shake to just return to it’s original position when it’s finished?

    #2701
    elvisish
    Participant

    I think this might have something to do with having an animator on the object, even if it’s disabled. I need to experiment more, but adding a child and shaking that seems to fix it?

     

    EDIT: I tell a lie, it’s still not returning properly.

    #2721
    Gavalakis
    Keymaster

    Hello again,

    I just tried the reflected node “DOShake Position” in a simple setup on an object and it works correctly. (it returns to 0,0,0). Do you maybe have any other scripts possibly affecting the position of the object? Can you please try on a simple setup (eg a cube with a DOShake Position flowscript) just to confirm it works in that simpler case?

    Also, are you indeed using the reflected “DOShake Position” node, or the one from the DOTween integration package? (I’ve tested the reflected DOShake Position node here).

    Thanks!

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

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