Team Spartan Cookies & Milk Forums
  • Issue Tracker
  • Donations
  • Search
  • Member List
  • Help

Register

Team Spartan Cookies & Milk Forums Garry's Mod Starfall v
« Previous 1 … 7 8 9 10 11 … 18 Next »
Hologram as Entity ?
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Threaded Mode
Hologram as Entity ?
18-12-2016, 04:18 PM,
#1
4N0NYM Offline
absens
****
Posts: 561
Threads: 211
Joined: Dec 2014
Hologram as Entity ?
does a Hologram count as a Entity and when not is it possible to make ? that for example
 if Player:aimEntity() == Hologram then 
work ?
Find
Reply
18-12-2016, 06:52 PM,
#2
Person8880 Offline
gpj.ecafllorT
*******
Posts: 2,407
Threads: 45
Joined: Sep 2013
RE: Hologram as Entity ?
Holograms are not solid, so that won't work. The aim entity is the closest solid object your cursor is pointing at.
Find
Reply
18-12-2016, 07:11 PM,
#3
4N0NYM Offline
absens
****
Posts: 561
Threads: 211
Joined: Dec 2014
RE: Hologram as Entity ?
So there is no way to detect when a Player is looking at the Holo ?
Find
Reply
27-12-2016, 06:12 PM,
#4
Kosmos Offline
GMod Admin
Posts: 180
Threads: 3
Joined: Dec 2013
RE: Hologram as Entity ?
I'm not sure if Player:aimEntity() does some sort of caching, but you could always use trace.traceLine(), it allows you to detect non-solid objects. Another advantage is that you get the hit position, hit entity, hit normal, hit texture, etc. all in one call.
Find
Reply
« Next Oldest | Next Newest »


  • View a Printable Version
Forum Jump:


Users browsing this thread:
Contact UsTeam Spartan Cookies & MilkReturn to TopLite (Archive) ModeMark all forums readRSS Syndication

Powered By MyBB, © 2002-2026 MyBB Group.