Talk:Authoring a Brush Entity

From Valve Developer Community
Jump to: navigation, search

The SetTouch call needs more work to make it Linux friendly, alter it to be SetTouch(&CMyBrushEntity::BrushTouch);

Brush moves in the wrong direction

What about comparing the position of colliding entity with the position of the brush? If the colliding entity is on the left, there's no way it could have hit our object unless it was moving right, towards us, regardless of its current velocity, right? -eroder