UserInputService should be replaced with VRService

head.CFrame = UserInputService:GetUserCFrame(Enum.UserCFrame.Head)

– Track VR headset movement and mirror for character’s head
UserInputService.UserCFrameChanged:Connect(TrackHead)

:GetUserCFrame and .UserCFrameChanged are deprecated are now a member of ‘VRService’
It should be
VRService:GetUserCFrame
VRService.UserCFrameChanged

Page URL: https://create.roblox.com/docs/reference/engine/classes/VRService#properties

1 Like

This is just an acknowledgment announcement!

We’ve filed a ticket to our internal database, and we’ll follow up when we have an update!

Thanks for the report!

2 Likes

Hi @ConnectNot_connect ! Thanks again for reporting this.

This code sample has been updated to use VRService instead of UserInputService. Thanks for flagging this issue :).

Have a great day!

2 Likes