Search Unity

Bug Why my model fly after adding the timeline....

Discussion in 'Timeline' started by qinyuq, Jun 1, 2023.

  1. qinyuq

    qinyuq

    Joined:
    Jan 29, 2023
    Posts:
    9
    Problem (I just use the video from my youtube account):


    I just added a timeline and that's how things turned out, and the model just kept flying forward. But it's good in the preview. And I didn't use any script yet.

    DarkKnight Prefab:
    upload_2023-6-2_0-59-37.png

    timeline:
    upload_2023-6-2_1-0-23.png

    stabFront:
    upload_2023-6-2_1-1-15.png

    stabbedFront:
    upload_2023-6-2_1-1-46.png

    Does anyone have thoughts? I have no idea about this bug right now. It's not impulse accumulation. I set the material to zero friction



    我修了一晚上来来回回重做了好多次了还是修不好………
    有没有跟过傅老师Dr.Fu课程的大佬帮帮忙啊,我现在对这个bug毫无头绪。不是冲量累积,material我调成零摩擦了
    救救孩子……(ノДT) upload_2023-6-2_0-59-37.png upload_2023-6-2_1-0-23.png upload_2023-6-2_1-1-15.png upload_2023-6-2_1-1-46.png upload_2023-6-2_0-59-37.png upload_2023-6-2_1-0-23.png upload_2023-6-2_1-1-15.png upload_2023-6-2_1-1-46.png
     
    Last edited: Jun 1, 2023
  2. Yuchen_Chang

    Yuchen_Chang

    Joined:
    Apr 24, 2020
    Posts:
    126
    Is there something to do with Physics? If the sword and enemy both have non-trigger colliders, Physics would depenetrate them.
     
  3. qinyuq

    qinyuq

    Joined:
    Jan 29, 2023
    Posts:
    9
    I don't know... I adjusted the physical material of the character to zero friction. The sword's collider is trigger one, but the enemy's is not, and I don't think it should be.

    In addition, I tried to increase the quality of the rigid body and nothing changed. The same goes for changing models. Normal battles can still go on without executing the timeline, but I think there may be something wrong with some of the settings of timeline.