By the way I don’t have any animations I know it looks weird.
By the way I don’t have any animations I know it looks weird.
That is pretty noticable, and not good with fast paced PVP.
Huh, I didn’t even notice it. Look at its beauty. It happens as soon as you press the key. Also it’s meant to only be possible if you are 3 studs away from the rig. Or less.
Yes it still is beutiful, knockback is soo hard to code too, i had problems with it too.
But there is still slight delay on your knockback.
Really? I used applyImpulse, are there any better alternatives? I’m pretty sure alot of the body movers apply constant speed and they aren’t instantenous. I tried using assemblylinearvelocity but I think that made it even worse. So I went back to applyimpulse.
I used BodyVelocity in my own game:
local knockback = Instance.new("BodyVelocity")
knockback.Parent = hit.Parent:FindFirstChild("RootPart")
knockback.MaxForce = Vector3.new(80000,80000,80000)
knockback.Velocity = char:FindFirstChild("RootPart").CFrame.LookVector * script.PVP.Knockback.Value/2
knockback.Velocity = Vector3.new(knockback.Velocity.X,script.PVP.Knockback.Value/2,knockback.Velocity.Z)
game:GetService("Debris"):AddItem(knockback,0.4)
This is just code ripped straight from my knockback system btw.
But doesn’t that apply the velocity constant? So like, it’ll just keep on going?
Sorry forgot to include debris.
Does it have the same delay or no?
No it doesn’t i just recorded a video of how it looks like:
Don’t mind the amazing graphics of my game.
Are you sure? The spider thing that got hit… He looks a bit… slow…? When hes in the air.
Thats because the knockback value and MaxForce are set to something specific leading to how it looks like right now.
Also how dare you call it a spider thing >:(.
I’m sorry, he’s a beautiful man with great dreams.
Also if you were interested in playing my abomination of a game (witch i doubt):
No I’m not trying to advertise it to you.
Also we are getting a bit of topic back to the original topic.
It’s fine, I’ll play it you helped me.
Mark the message that helped you as solution so that if other poeple get this problem then they can look at this post.
Wait hold on, you might not be the solution yet. Let me just do some testing.
Okay, Okay, can relate.
The file is too big, gonna need to use a compressor hold on.
What do you mean file? Are you downloading my game or something, or do you mean the video i sent?