Can tweening be used in BodyVelocity and if so, should you?

I’m trying to make movement similar to SSB (Super Blocky Ball) where when you’re moving forward and you try to turn the opposite direction it slows you down first then accelerates you into that direction.

Super Blocky Ball

To mimic this I use body velocity
Let’s say that the character has a Velocity of (0,0,5) and he changed directions and the new Velocity is (0,0,-5). I don’t want it to make a sharp turn so I use tweening.

Is it possible to use tweening in this situation? Is it ok to use this method of accelerating/decelerating?

Thanks for listening :grinning:

1 Like

Doesn’t BodyVelocity have a sort of natural acceleration to it already?

2 Likes

oh, oops, I’m not smart, I should have experimented with it more first.

while wait(1) do
local BV = Instance.new(“BodyVelocity”, script.Parent)
BV.MaxForce = Vector3.new(25000,25000,25000)
BV.Velocity = Vector3.new(40,10,0)
game.Debris:AddItem(BV,0.3)

wait(1)
local BV = Instance.new("BodyVelocity", script.Parent)
BV.MaxForce = Vector3.new(25000,25000,25000)
BV.Velocity = Vector3.new(-40,10,0)
game.Debris:AddItem(BV,0.3)

end

1 Like