Slow Motion in Unity - Fast Unity tutorial

Поделиться
HTML-код
  • Опубликовано: 8 сен 2024
  • How to implement Slow Motion in Unity .
    #unity #programming #gamedev

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

  • @FacuDuck
    @FacuDuck Год назад +6

    Time.timeScale = 0.5f;
    Time.fixedDeltaTime = Time.timeScale * 0.01f;

    • @budgames
      @budgames  Год назад +1

      another way for implement slow motion?

    • @FacuDuck
      @FacuDuck Год назад +1

      @@budgames It is the code in your video. I just wrote it so it can be easily copied.

    • @budgames
      @budgames  Год назад +2

      @@FacuDuck 🤣🤣oh yes
      i forgot which method of slow motion i used in the video😂
      thanks that will help people a lot😍
      sorry for that misunderstanding😂💙

    • @alexxitoprivacy5189
      @alexxitoprivacy5189 11 месяцев назад

      is that 0.01f a fixed value or is there some kind of math behind?

    • @FacuDuck
      @FacuDuck 11 месяцев назад

      I dont know i just wrote the code so people can copy paste it @@alexxitoprivacy5189

  • @okantopal4916
    @okantopal4916 3 месяца назад

    According to unity default settings Time.fixedDeltaTime should be 0.02f, which corresponds to a fixed update rate of 50 times per second
    (1/0.02=50). FixedDeltaTime of 0.02f is a balanced choice that provides stable and consistent physics simulation. Please take this into account if you change Time.fixedDeltaTime to 0.01f. When you finish slow motion set Time.timeScale to 1 and Time.fixedDeltaTime to Time.timeScale*0.02f

  • @p.zgamedeveloper
    @p.zgamedeveloper Год назад +2

    عالی❤❤

  • @user-xd4kt1hd8j
    @user-xd4kt1hd8j 7 месяцев назад

    Nice, thankss

  • @didntask2438
    @didntask2438 Год назад +1

    thanks, very helpful!

  • @moonwatchereclipse5291
    @moonwatchereclipse5291 Год назад +1

    very cool