https://gyazo.com/760ef880e081450dd2597e486e13726c, they bounce towards the player
So make them bounce?
Filler aaaa
Yea basically [char minaaaaaa]
Maybe adding a velocity(or maybe other isntances that you can think of) to the ball or make it massles. You can also make it a custom controller that will calculate the position depending on the speed and the size of the ball.
Define an axis, construct a circle around it, and apply a centrifugal force on a spherical object. For that you need to constantly give the sphere a velocity that is directed tangent to that circle at all times, for this change, continuously apply a force towards the center of the circle. The magnitude of the force should be F=mv^2/r
, where m
is the mass, r
is the radius, and v
is the velocity. Account for changes in the position of the HumanoidRootPart
as well if you intend to keep it centered around it.
You can also just keep updating the position of the sphere using any function that runs fast enough (e.g with camera updates), and define the angle as a function of time.
Determine the X and Z coordinates of the sphere using sin and cos, and modify the Y using the Y position of the root part.
This is not intended to be a complete solution, but guidance towards the right direction. Good luck, things have been made way easier for you.
Custom physical properties ?
You could probably use Velocitys or animating them is also an option