View Single Post
Author Message
xbatista
Veteran Member
Join Date: Mar 2008
Location: Lithuania
Old 03-04-2016 , 11:11   [CS:GO] Jelly collisions on ShouldCollide
Reply With Quote #1

Hi,
maybe someone knows good collisiongroup and contentmask for player collisions?
Because when I touch the player it stops for 0.5 second and then goes through a little bit like jelly, what slows colliding player.
PHP Code:
public bool onShouldCollide(int entityint collisiongroupint contentsmaskbool result 
{
    if (
shouldCollide[entity]) {
        
//collisiongroup = 0;
        //contentsmask = MASK_PLAYERSOLID_BRUSHONLY;
        
result false;
        return 
false;
    }

    
result true;
    return 
true;

P.S. mp_solid_teammates works very well, so any possible way to do like that...
__________________

Last edited by xbatista; 03-04-2016 at 11:13.
xbatista is offline
Send a message via Skype™ to xbatista