FixedUpdate, FixedTimeStep And Maximum Allowed TimeStep

Поделиться
HTML-код
  • Опубликовано: 5 ноя 2024

Комментарии • 34

  • @jahoopyjaheepu497
    @jahoopyjaheepu497 2 года назад +1

    This is one of the finest videos about Unity ever produced. Thank you so much for presenting this very important information with such clarity.

    • @lidiamp
      @lidiamp  2 года назад +1

      Oh wow. Thanks ^_^

  • @hoo1320
    @hoo1320 3 года назад +2

    Wow, this is really a very complicated concept, but thank you so much Ms. Lidia, Now I really understand why physics is run in FixedUpdate() instead of Update().
    What I have learnt from this video is:
    ✪The difference between "game time" & "wall clock time"
    ✪The influence of Fixed TimeStep on the execution of FixedUpdate()
    ✪Efficiency and accuracy of physics execution in FixedUpdate()
    ✪Maximum Allowed TimeStep value should be considered in heavy projects
    Arigato gozaimasu

    • @lidiamp
      @lidiamp  3 года назад +1

      Awesome! Glad you got the idea. Now you will know and others should learn from you :-)

  • @GfxWakeup
    @GfxWakeup 3 года назад +2

    Finally, some explanation that is going in deeper theory!

  • @40wattstudio41
    @40wattstudio41 Месяц назад

    Very interesting! You definitely filled in some gaps in my knowledge on this subject.

    • @lidiamp
      @lidiamp  Месяц назад

      Ah, thanks. Video is quite old and slow... but some people still appreciate it :)

  • @CharlieCushing
    @CharlieCushing 3 года назад +2

    Thank you for this

    • @lidiamp
      @lidiamp  3 года назад

      Thanks a lot :-)

  • @0xF81
    @0xF81 2 года назад

    No idea how I ended up on this video but very interesting, thanks for making this video! And I have a feeling you expressed more information here in the video than in the blog post

    • @lidiamp
      @lidiamp  2 года назад +1

      Thanks!!! Yes... maybe I did. But thanks for watching. I think it's way too long and very boring to watch. Probably the reason why it doesn't have many views. Not a fun video to watch, for sure. :D

  • @kennethgriffin5761
    @kennethgriffin5761 3 года назад +1

    Great content. Subscribed. Hope to see you tackle on DOTS in the future!

  • @KVergot
    @KVergot 2 года назад

    Great tutorial. You have earned another subscriber.

  • @w0nnafight
    @w0nnafight 3 года назад

    Very informative, thanks. Will you be doing more videos?

    • @lidiamp
      @lidiamp  3 года назад

      I'd like to, but time is limited. Also the videos are not very produced even though I'd like to. But stay tuned!

  • @alexszum5175
    @alexszum5175 3 года назад

    Thank you so much! Very useful information

    • @lidiamp
      @lidiamp  3 года назад +1

      Thanks to you for spending time watching this video. :) How you teach this to others!

  • @MKHideOut
    @MKHideOut 2 года назад +1

    Wow this was so awesome!

  • @rajmishra6769
    @rajmishra6769 Год назад

    Thank you.

  • @KeyurParekh6610
    @KeyurParekh6610 3 года назад +1

    Pls, make a video on, how to create car and handle it.

    • @lidiamp
      @lidiamp  3 года назад +1

      Wow that's a very specific request. I don't know about cars... I suggest you visit the YT channel of the creator of Vehicle Physics. Maybe he has something to say about it. :-)

  • @phatesun
    @phatesun 3 года назад

    We have only one place to set the Fixed TimeStep.
    But what if I need 2 or 3 kinds of FixeUpdate with diffrent Fixed TimeStep? (because some funstions I don't need it work that much times, I only need it works maybe 20 times every second, but other funstions I need it works 100 times per second )
    What can I do?

    • @lidiamp
      @lidiamp  3 года назад

      Cool. Then you add a time counter. As simple as that. Just add a counter in the monobehaviour class that executes the FixedUpdate, and then inside the FixedUpdate() add the amount of time passed:
      counter += Time.fixedDeltaTime;
      And if counter > X value, (in seconds), then you execute that funcion. Otherwise, you don't. :-)

    • @phatesun
      @phatesun 3 года назад

      @@lidiamp thank you very much!

  • @byte1988
    @byte1988 3 года назад

    Thanks for putting this out! I learned a lot from it. Keep up the great work!

    • @lidiamp
      @lidiamp  3 года назад +1

      Thanks a lot! I wish this video could reach more people, but it's hard to do it since I'm not a hardcore social media user. If you liked it, please help sharing! :-)

    • @xray808-k4c
      @xray808-k4c 3 года назад

      @@lidiamp Why you blog can't be accessed now ?

    • @lidiamp
      @lidiamp  3 года назад

      @@xray808-k4c just checked. The link works. Try again please!

    • @xray808-k4c
      @xray808-k4c 3 года назад

      @@lidiamp Thanks . After so many attempts , I found the link can't be accessed by the PC browsers ,but it can be accessed by my mobile browser(really strange😥,never happen before) ;
      I will translate your post into Chinese, I believe it will be the best explanation on this topic on the Chinese Internet.
      Thank you very much for your contribution, wish you all the best !!!

    • @lidiamp
      @lidiamp  3 года назад

      @@xray808-k4c really? , Please put here the link to your post when you finish it. I will add a link to it in mine! It still has a lot of views

  • @johannesstensen5449
    @johannesstensen5449 2 года назад

    Thank you!

  • @mitsuhagd
    @mitsuhagd 10 месяцев назад

    23:18