Type-Checker says that CFrame.AngleBetween does not exist

The following script:

--!strict

local a = CFrame.new()
local b = CFrame.new()

print(a:AngleBetween(b))

produces this type error: Key 'AngleBetween' not found in class 'CFrame'

But it is wrong, CFrame.AngleBetween does exist, and this script works totally fine at runtime.

2 Likes

Thanks! I released AngleBetween, and looks like I forgot to somehow get the type checker to know about the new method.

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.