This might belong more in development discussion, but I need to practice using velocities
Please reply with some ideas of what I can script to practice using velocities
I’ve opened a similar topic in development discussion since I’m not sure if it should be posted there or in scripting support, so you can reply to either post: https://devforum.roblox.com/t/things-to-practice-for-commissions/2094512
Make a function that takes a list of points. That function should calculate the total distance of the line formed by all the points connected in sequence. It should return another function that takes a distance between zero and this length and returns the velocity of a point “falling” under gravity from the highest connected point. If there are multiple possible velocities, such as if the point is near the bottom of two peaks, it should return the one with the most energy remaining before it reaches its lowest possible point:
Look into projectile motion. Understandable real-world application of velocity vectors.
Also, if you’re wanting to practice utilizing movement vectors such as velocity, read up on acceleration and trigonometric functions, as they’re both heavily tied into velocity (acceleration is a measurement of how fast velocity changes with respect to time, while trig functions – especially sine and cosine – are used for angular calculations when dealing with vectors)