Skip to content
This repository was archived by the owner on Jul 16, 2024. It is now read-only.

Conversation

jackTabsCode
Copy link
Collaborator

Fixes #67

local mouseLocation = UserInputService:GetMouseLocation()
local ray = camera:ScreenPointToRay(mouseLocation.X, mouseLocation.Y)

local result = workspace:Raycast(ray.Origin, ray.Direction * 1000)
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

1000 seems like a sensible length, but not sure.

@Ukendio
Copy link
Contributor

Ukendio commented Nov 21, 2023

LGTM on the implementation! I understand the rationale of #67. Quite often that the local character is part of an entity in the game world, so allowing inspecting/tool-tip on it makes a lot of sense to me.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Debugger mouse highlight doesn't work with local character

2 participants