You can write your topic however you want, but you need to answer these questions:
What do you want to achieve? Keep it simple and clear!
I want to understand the relationship between velocity and vector3s
What is the issue? Include screenshots / videos if possible!
What solutions have you tried so far? Did you look for solutions on the Developer Hub?
Tried looking documentation but still cant see relationship, isnt velocity supposed to be one thing only not 3 directions at once, its a straight line not a dimensional concept, so why is it put as a parameter for a vector3 , any help would be appreciated, thank you
After that, you should include more details if you have any. Try to make your topic as descriptive as possible, so that it’s easier for people to help you!
-- This is an example Lua code block
```local DirectionOfMovement = HumanoidRootPart.CFrame:VectorToObjectSpace(HumanoidRootPart.AssemblyLinearVelocity)
Please do not ask people to write entire scripts or design entire systems for you. If you can't answer the three questions above, you should probably pick a different category.
I never used AssemblyLinearVelocity I don’t think, so I’m not an expert, but maybe this can clear up some confusion:
A vector is like x units going in a direction (I am not expert with definitions). So like 30 inches upward: going 30 inches in an upward direction.
Since we’re scripting in a 3D space, we have to specify the axis (X,Y, or Z) in which we want our units to go. If we wanted to travel 30 studs on the X axis, we’d do Vector3.new(30,0,0), or if we wanted to travel 10 studs on the Y axis and 10 studs on the Z axis, Vector3.new(0,10,10). So with AssemblyLinearVelocity, you need to use a Vector3 to specify what speed you want on which axis. You can think of it as three different velocities: a velocity going in the X direction, a velocity going in the Y direction, and a velocity going in the Z direction.
Ohh I see, thanks! that really helps me visualize it better, i guess the addon of other axis allows for diagonal velocity not just 1 single axis velocity.