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

Quote:
Originally Posted by Lux View Post
I had that issue where physics were frozen on L4D2_Defib_Ragdolls

So i had to damage the ragdoll with DMG_CLUB or DMG_BLAST
https://github.com/LuxLuma/L4D2_Defi...s.sp#L337-L357

https://github.com/LuxLuma/L4D2_Defi...gdolls.sp#L276

Because using TeleportEntity() would cause the ragdoll to sleep.

Maybe this will work in TF2?
Incase you have an issue with damage forces and can't disable it, you can make a damage hook and edit damage forces in there to 0

https://github.com/LuxLuma/L4D2_Defi...s.sp#L232-L240

Like here i do with the ragdoll editing the damage forces.
I tried what you said, but it also didn't work. The point_hurt is spawned and works, but the weapon remains frozen in the air.
Shadowysn is offline