Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add gimbal gizmo #3273

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Add gimbal gizmo #3273

wants to merge 1 commit into from

Conversation

marchc1
Copy link

@marchc1 marchc1 commented Feb 27, 2025

Adds a gizmo to the Wire Gimbal to easily tell the orientation of the entity

image

Comment on lines +18 to +21
if not self:BeingLookedAtByLocalPlayer() then return end

local weapon = LocalPlayer():GetActiveWeapon():GetClass()
if weapon ~= "weapon_physgun" and weapon ~= "gmod_tool" then return end
Copy link
Contributor

Choose a reason for hiding this comment

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

Can ENT:DrawWorldTip be used instead? Then you can get rid of these lines.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants