Compatibility with Vector library
tracked
Wulfie Reanimator
Reference: https://luau.org/library#vector-library
LL seems to have implemented
vector
(returns Luau vector) and quaternion
(returns Luau userdata) functions to completely replace vector.create(x,y,z)
and vector.create(x,y,z,w)
. While I understand the aliases are useful, I don't think the built-in API should be disabled since it prevents us from making proper use of the library (and potentially other APIs).What's the reasoning for this decision, and can it be changed?
Log In
Maestro Linden
tracked
Kadah Coba
The SL specific data types possibly should likely have a new name rather than replace the natives...
Conversion between them should be a thing.
WolfGang Senizen
This also breaks all of the standard vector functions from luau's library
vector.zero
vector.one
vector.create(x: number, y: number, z: number): vector
vector.create(x: number, y: number, z: number, w: number): vector
vector.magnitude(vec: vector): number
vector.normalize(vec: vector): vector
vector.cross(vec1: vector, vec2: vector): vector
vector.dot(vec1: vector, vec2: vector): number
vector.angle(vec1: vector, vec2: vector, axis: vector?): number
vector.floor(vec: vector): vector
vector.ceil(vec: vector): vector
vector.abs(vec: vector): vector
vector.sign(vec: vector): vector
vector.clamp(vec: vector, min: vector, max: vector): vector
vector.max(...: vector): vector
vector.min(...: vector): vector