#Long March
1 messages · Page 1 of 1 (latest)
good
ok
you know what the magnitued of a vector / vector3 is?
magnitude not really vector 3 yes
the magnitued of a Vector3 is the length of all the components of the vector3 combined
if you want to know how fast a object is you mostly dont care about what direction it is going
you just want to know the speed
the magnitude of the velocity vector is that speed you are after
that you can now compare to your float value to see if the speed meeds your condititon
I do math..... ok
where do I put your magnitude
cuz tihs is pretty chat I don't udnerstand cuz apprently the problem come from the if statement
if (aircraft.isGrounded && speed.magnitude >= 2f) {
glad for you 🙂
you can close this channel?
you can just leave the thread it will be auto deleted after one day i think