Slipe-Core
Slipe-Core copied to clipboard
Camera.SetMatrix doesnt work
Camera.Instance.SetMatrix(new Matrix4x4(new Matrix3x2(2729.7429199219f, -2300.41015625f, 10.981800079346f, 2729.4001464844f, -2306.2919921875f, 10.65811252594f)), 0, 70);
This doesnt work but it does in Lua.
setCameraMatrix(2729.7429199219, -2300.41015625, 10.981800079346, 2729.4001464844, -2306.2919921875, 10.65811252594, 0, 70)

Fixed by using Vector3 instead of Matrixs
I still want to look into this regardless
code that worked:
Camera.Instance.SetMatrix(new Vector3(2729.7429199219f, -2300.41015625f, 10.981800079346f), new Vector3 (2729.4001464844f, -2306.2919921875f, 10.65811252594f), 0, 70);