View Single Post
Halt
Senior Member
Join Date: Jan 2015
Location: Black Mesa
Old 08-21-2019 , 13:58   Re: [CS:GO] thirdperson camera bug when bonemerging prop_dynamic with player
Reply With Quote #8

Quote:
Originally Posted by 1337norway View Post
Do you have collision group set to be disabled on the dynamic prop? Also you can use this https://sm.alliedmods.net/new-api/sd...ientViewEntity spawn anothe prop which is parented to the player at an offset and set the clients view to be on that model. The issue appears to be the camera not wanting to clip through walls/objects and the prop dynamic having collision for the camera directly behind the players head. So it gets stuck and wont move back anymore
Yes, insure your entity has no collision. You can set a spawn flag (256) for no collision. Or also

PHP Code:
AcceptEntityInput(prop"DisableCollision""1"); 
For an easy fix.

Edit - You can test this by standing up against a solid brush and do multiple emotes, changing your angle each time. Example look at the solid brush first and do it, then turn 30 degrees and repeat until you do a full circle. Keep in mind overhead props/brush's and even some non-visible brush's. Playerclips etc. Nodraws should be fine because they don't render solid by default.

Last edited by Halt; 08-21-2019 at 14:02.
Halt is offline