I’ve been looking to make a game inspired by Rooms & Doors (by CJ4), and other “Rooms” fangames.
My aim here is to make a similar first-person smooth camera mechanic with a dynamic cursor that can smoothly follow the rotation of the camera, which can also move to and grow on prominent objects such as doors, items, etc. depending on how close the player is.
This is a clip of how the camera and cursor mechanics work in Rooms & Doors. As you can see, my camera moves smoothly and the cursor has a smooth offset depending on the camera’s rotation speed. The cursor moves towards prominent objects, as said before, such as doors, items, etc.
My hypothesis:
The cursor is moved by raycasting, and is a BillboardGui object that resizes by hovering over objects, clicking, and fades out then fades in again using when the game decides or when a door is opened. The fading and resizing is managed by TweenService. The movement of the cursor is also controlled by RunService.