• Get value from a vector
    3 replies, posted
Hi, I'd like to calculate the sum of each value in GetAbsVelocity() to get a float, but I don't know how to get each value out of it Also, is there a function for this or do I have to do it manually ?
Vector You can access each component of a vector. local var = ent:GetAbsVelocity() print(var.x, var.y, var.z)
Thanks !
Vector/Length
Sorry, you need to Log In to post a reply to this thread.