Talk:Authoring a Brush Entity: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
 
(Brush moves in the wrong direction)
Line 1: Line 1:
The SetTouch call needs more work to make it Linux friendly, alter it to be SetTouch(&CMyBrushEntity::BrushTouch);
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

Revision as of 05:33, 7 December 2008

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