#Ball physics doesnt work

1 messages · Page 1 of 1 (latest)

atomic palm
#

I was doing a shoot module. When I do an animation, I want the ball goes forward when in the animation the leg touched the ball like in this example that it doesnt work

#

if possible, help me

tiny atlas
#

are you using ball.Touched:Connect() inside of a UserInputService function? @atomic palm

atomic palm
#

Ah yeah. @tiny atlas

tiny atlas
#

Tbf, I think you should read out the LookVector of the player + the distance between ball and player wehnever he tries to shoot. Your solution won't really work because the player needs to already touch the ball with his leg wehn he wants to shoot.

#

Do you understand what I mean?

atomic palm
#

Hmm

#

Do I have to use RemoteEvents so the physics works or I have to look that you said?

tiny atlas
#

Uhh if you want to make it safe you would have to fire a remoteevent wehnever the player tries to shoot and calculate everything on the server.

#

ts causes lag and won't look very nice 😭

atomic palm
#

Oh lol

tiny atlas
#

Physics in general are very hard to make look good for every person bc of their ping

tiny atlas
atomic palm
#

ah nope

#

yeah nope

tiny atlas
#

technicly it should shoot everytime you run through the ball then lol

atomic palm
#

a

#

lol

#

@tiny atlas Welp, thanks for that tips btw.

tiny atlas
#

yeah no problem good luck in making ts work 😭

atomic palm
#

Lol 😢

shrewd timber
atomic palm
#

@shrewd timber Oh ok