• Need help on making a player a "ghost"
    4 replies, posted
I want to make a player turn invisible and not collide with anything with the world. I've got most of it, but the player still absorbs bullets. I'd prefer to make the bullets go through the player. How would I do this?
[b][url=wiki.garrysmod.com/?title=Gamemode.ShouldCollide]Gamemode.ShouldCollide [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] seems to be able to disable bullets collision on props. Never tried it with players.
[QUOTE=DarkTyrael;19647559][b][url=wiki.garrysmod.com/?title=Gamemode.ShouldCollide]Gamemode.ShouldCollide [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] seems to be able to disable bullets collision on props. Never tried it with players.[/QUOTE] I'd rather avoid that hook, it seems to only mess stuff up for me :frown: I thought of player:SetHull( vector_origin ) but I think bullets would still hit the hitbox from the model then...
I'm pretty sure [b][url=wiki.garrysmod.com/?title=Entity.SetSolid]Entity.SetSolid [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] works too.
[QUOTE=Overv;19663439]I'm pretty sure [b][url=wiki.garrysmod.com/?title=Entity.SetSolid]Entity.SetSolid [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] works too.[/QUOTE] That seemed to work :buddy:
Sorry, you need to Log In to post a reply to this thread.