Hello developers, I’ve recently been attempting to make a script that throws the player upwards and forward relative to the lookvector of the UpperTorso.
So I’m using AssemblyLinearVelocity and can’t figure out how to make it go forward (BodyPart.CFrame.LookVector * Speed) + Y value so player also goes upwards. Using LookVector to make the player be given velocity forwards in their looking direction and also adding a Y value. I’ve tried searching for a solution to but I cannot seem to figure it out.
If i was to write:
torso.AssemblyLinearVelocity = torso.CFrame.lookVector * 200 -- Only forward
then I would only move forward, so my question is how can I make the part also go upp and forward.
torso.AssemblyLinearVelocity = Vector3.new(0,0,torso.CFrame.lookVector.Z * 200) -- Did not work
torso.AssemblyLinearVelocity = torso.CFrame.lookVector * Vector3.new(0,120, 200)