New CFrame constructor lookAt not shown in the CFrame API

https://developer.roblox.com/en-us/api-reference/datatype/CFrame

The CFrame data type page doesn’t include the new CFrame.lookAt(Vector3 at, Vector3 target) CFrame constructor API. It does appear like it’s working for me in Studio now.

image

3 Likes

if i remember correctly, they didn’t fully implement it yet, since it was supposed to replace cframe.new

It’s been fully released for 17 days. It’s definitely a bug that it isn’t shown on the DevHub.

2 Likes

There’s a request for the documentation to be updated in the system, there’s just a backlog right now.

3 Likes

I figured it was something like that. But I thought the API reference pages were auto-generated, no?

1 Like

For Instance types the documentation pages are partially automatically generated.

Data types like CFrame each have their own special implementation, so the page is updated entirely by hand for those.

3 Likes

CFrame.lookAt constructor appears under the new Create Docs page - marking this as solved.

1 Like

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