This should work.. We do this for several of our entities and we get the 
behaviour as expected. Make sure something else isn't stamping out the 
collision group after you set it to COLLISION_GROUP_PLAYER_BLUE

> I tried doing this by defining COLLISION_GROUP_PLAYER_BLUE and
> COLLISION_GROUP_PLAYER_RED, assigning those collision groups to
> players of that team. In the newer ShouldCollide function, whenever I
> see one of those collision groups, I pass it off to the base class,
> but test against COLLISION_GROUP_PLAYER instead, so it still treats
> the player as it should.
>
> Any better ways to do this?
>
> --Bob
>
>   
>   

_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders

Reply via email to