Animate and roll a ball the correct way in blender.

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

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

  • @knottt
    @knottt 4 года назад +10

    This is the best way I could found, solved a big problem for me! Thank you sooooo much!

  • @RobertShane
    @RobertShane 3 года назад +7

    Your expression can be simplified. You're basically doing 2 / diameter but since diameter = 2 * radius the twos can cancel out. The simplified expression is -curve_length / radius * (eval_time / eval_max).

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

      what is the radius. I got the error F-Curve with path 'eval_time[0]' cannot be keyframed, ensure that it is not locked or sampled, and try removing F-Modifiers.

  • @robinsquares
    @robinsquares 3 года назад +11

    -2*curve_length/diameter*(eval_time/eval_max)

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

    I can't even find the Edit button at 7:43 on my blender

  • @Honey_Tabby
    @Honey_Tabby 6 месяцев назад +1

    For anyone trying to use a path and the calculate length isnt working go into edit mode, right click path and select set spline type to bezier, you may need to subdivide it.

  • @Glimzee
    @Glimzee 2 года назад +2

    Good Teaching and Good Explanation every Details

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

    I found this driver earlier but just couldn't make it work. It was a tiny but essential bit I missed, and you led me in the right direction. Have my gratitude & my sub!

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

    thanks bro best tut ever

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

    you just saved me from a lot of time calculating physics

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

    really cool approach

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

    Thanks for good lesson I got learned something

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

    Thank you so much!! Just discovered your channel, awesome quality content! Love it

  • @lekkerfruit2208
    @lekkerfruit2208 2 года назад +2

    F-Curve with path 'eval_time[0]' cannot be keyframed, ensure that it is not locked or sampled, and try removing F-Modifiers."
    help!

  • @frenkyb123
    @frenkyb123 4 месяца назад

    Thanks. Very very good explanation.

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

    I have found that a division of 25 as the eval_max makes the ball roll smoother on blender 4.0

  • @aliensoup2420
    @aliensoup2420 3 года назад +3

    Well presented, but of course, there is no subjectively "correct" way to roll a ball - the correct way is whatever works for your intended animation. But if you want to be anal about it, this is not the physically correct way to animate a rolling ball in any direction, because a ball does not steer itself around a path. There is no forward direction or orientation for a ball, it just changes its apparent rotation axis depending on the forces placed upon it, which is impossible to do in animation without using quaternions (or a physical simulation, which uses quaternions). I am surprised to see a "Curve Length" utility finally made its way into the interface. That is quite helpful.

  • @Najim_R
    @Najim_R 4 года назад +3

    This was exactly what I needed! Thanks!
    One question, afther you did all that can I still edit the curve at the end , like make it longer.. or do I need to update the curve length in the code again ?

    • @3Dschool-David
      @3Dschool-David  4 года назад +1

      Yeah, just update the curve length and you are set.

  • @sarahashemi6521
    @sarahashemi6521 10 месяцев назад +1

    Thank you very much for this nice tutorial. I also like your cat ❤

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

    Thank you very much. This helped me a lot in my university assignment. Although the accent was a bit hard to comprehend at times, it was clear and easy to follow. P.S. that cat behind you is absolutely adorable

    • @3Dschool-David
      @3Dschool-David  3 года назад

      I didn't know my accent was that thick hahaha!

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

    Very nice Video. Thank you 🙏

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

    THANKS, Great Tutorial, my Brother, and cute cats you have there. 🙏🏾

  • @daniel_a.m.
    @daniel_a.m. 5 месяцев назад

    thanks man!

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

    Can you make the curves anything

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

    +1 for the cat

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

    thank you!!

  • @впередиспесней-ы2б
    @впередиспесней-ы2б 2 года назад

    How it works with circle curve?

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

    When I click button to calculate curve lenght nothing changes :( If I make a new curve it can calculate it, but if I convert mesh to curve it cant. Any solutions? :(

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

    how did you get to the formula? Where does -2 come from? Halp!

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

      I managed to get it to work, but would still give you a cookie if you tell me about -2

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

      @@natasha4695 The 2 comes from the fact that he didn't simplify the expression. He's doing 2 / (radius * 2) which simplifies to 1/radius. The negative comes from him using a positive 100 at the end instead of a negative.

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

    merci pour ce tuto. ça fonctionne bien ;)

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

    can i use this for a circle path?

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

    why my ball is bouncing instead of peacefully rolling?

  • @rypiyx
    @rypiyx 6 месяцев назад

    bigger balls , 'YEAHYEAH haha

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

    Thx.

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

    can't follow I'm distracted by the cute cat in the back

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

    Thanks a lot I was able to make my music video with this video!! ruclips.net/video/WsPf2hbKNpc/видео.html