Smoothly accelerating with smoothstep() velocity.

preview_player
Показать описание
Smoothstep is useful to gradually change a quantity or signal from one value to another. But when used for the velocity of an object, the resulting position of that object can behave in unintended ways, unless we do a bit of calculus.
Рекомендации по теме
Комментарии
Автор

I can't wait to eventually go down the graphics programming rabbit hole in game development - you are an inspiration for me to keep going with learning.

Thankyou

marknewellmusic
Автор

TIL position is the integral of velocity (which makes sense, if you think about it).

SIXSHAMAN
Автор

i used smoothstep like this to smoothely interpolate learning in a gradient descent algorithm

Colonies_Dev
Автор

I think the smooth step looks more real. Cause the butterfly would need more energy to get off the ground and start flying. This also looks kind of funny cause butterflies have four wings.

whtiequillBj
Автор

Let's do some maths... when my brain starts to fail.

markuszeller_official
Автор

ok now put the butterfly in the matrix and make it dodge bullet with maths

iq: easy. i know just the 400 digit equation

turdle
Автор

i hate web dev and the economy and the government

post_rot
join shbcf.ru