#Latency on uppercut and downslam animations (trying to make a battlegrounds game)
1 messages · Page 1 of 1 (latest)
Can you explain what exactly you are trying to do?
I don’t see how intentionally adding latency would help
the animations in the video arent synced to the dummies hits of the downslam and the uppercut ive made 10 different versions of both animations and tried to adjust them to time the latency issue but since it isnt going anywhere I thought why not just add a timer before the actual hit happens?
** You are now Level 5! **
I hope this explanation helps
actually nvm Ì might know a alternative to try
Ill come back here and tell you if it worked or not
Okay
This does seem like the easiest fix
You would put the wait after the guards
An animation event would also work
So that the hitbox is only deployed after the hit animation is played
That would remove the need for await
alternative would be to make the gravity smaller so that it takes less time for the animation to activate (the downslam atleast) otherwise its back to adding timers before the action
Wdym?
The problem is that the enemy is damaged as soon as the ability is activated, not as soon as the impact animation is played right?
ig a little bit of both the dmg in itself isnt really the issue weather or not its delayed but that the dummy drops to the ground before the actual slam connects
what i meant is if the gravity is lower then the animation has to play faster which might cause it to connect otherwise ima try to delay the impact frame of the dummy
Oh I see
So yeah it’s pretty simple
Add task.wait(.5) (experiment a little) inside “if ray then…”
If you want the damage to happen simoltanioysly, move the wait up a little
idk how to spell that lmao
alr yeah ill definitely try that thanks for the help
Np
english is a hard language xd
ill comeback if and confirm if it works or not
yeah it worked thank you so much for the help 
Np
btw I started working on a blocking system but ran into some issues i could link you to that post if you wanna check it out
I can try to help