#Velocity problems

1 messages · Page 1 of 1 (latest)

agile path
#

why doesnt the velocity change? trying to make an entity with a humanoid get knocked back slightly after getting hit, but the velocity doesnt change

v is an entity btw

Knockback is supposed to happen on every hit

                    local bv = Instance.new("BodyVelocity")
                    local knockback = (v.Position - char:FindFirstChild("HumanoidRootPart").Position).Unit
                    
                    print(knockback)
                    
                    print(v.Velocity)
                    bv.Parent = v
                    bv.MaxForce = Vector3.new(math.huge, math.huge, math.huge)
                    
                    bv.Velocity = v.Velocity + Vector3.new(knockback*3)
                    print(v.Velocity)```
cloud condorBOT
#

studio** You are now Level 1! **studio

silk bobcat
#

Danf