is there any topic explain how collision works in game?
I am a L4D2 player and i am very confused about how collision works in game.
In L4D2 survivor will not collide with each other,but collides with special infected.And i use SDKHook_StartTouch to hook survivor touch each other,nothing happen. I try to get the prop of survivor and infected,but they are the same. Code:
m_nSolidType == 2 (i just start hook in "player_first_spawn" event and return true in ShouldCollide). Code:
L 03/18/2022 - 05:58:14: SourceMod error session started Can someone explain what is collision group ,solid type and how to use ShouldCollide? And if i want survivor in L4D2 can collide with each other,how can i get the target? Thanks for your help. |
Re: is there any topic explain how collision works in game?
emmm...
I dont know if you still need these but I will put them here... https://developer.valvesoftware.com/...llision_groups https://developer.valvesoftware.com/...lisionProperty |
All times are GMT -4. The time now is 23:48. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.