Talk:Authoring a Brush Entity

From Valve Developer Community
Jump to navigation Jump to 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