View Single Post
Shadowysn
Senior Member
Join Date: Sep 2015
Location: Location:
Old 10-16-2019 , 09:17   Re: [TF2] Spawn weapon drop onto player's hands properly WITHOUT SetParentAttachment?
Reply With Quote #7

Quote:
Originally Posted by Pelipoika View Post
I've already checked that discussion before I came up with spawning a dropped weapon, and there isn't anything that can help wake up the physics of the dropped weapon, or even prevent it sleeping in the first place.
I'm spawning the weapon through the signatures, yeah.
Spawning that weapon through the sig, then using SetParent + SetParentAttachment causes it to sleep/remain frozen in the air.

That bug didn't happen on a dropped weapon made by CreateEntityByName.

I've decided to post the full Dead Ringer sp file on the first post. Check up there.
Oh yeah, it's also the first time I'm using attachments so forgive me for it looking like a link.
EDIT: My dumbass forgot to include the gamedata, sorry for throwing any of you off.

Last edited by Shadowysn; 10-16-2019 at 09:22.
Shadowysn is offline