Talk:Func movelinear: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
 
No edit summary
Line 1: Line 1:
* Correction of the relationship between starting position and '''startposition'''
* Clarification of '''startposition''' and '''SetPosition'''
:The entity description for '''startposition''' in the FGD (in Hammer) is:
:I felt it was clearer to state that the brush does not initially move from where you place it in the map. Rather, the start position parameter determines where the starting position and end positions are to be relative to the spawned position.


:''Position of brush when spawned. The range is a value between 0.0 and 1.0, where 0 is the starting position and 1 is the starting position + (move direction * move distance).''
:Also, my experimenting indicates the movedistance is not modified by '''SetPosition''' — [[User:BJ|BJ]]
 
:The implication is that a value of 1 would spawn the brush '''movedistance''' away from its starting position in the map. That is incorrect. A little experimenting shows that the brush stays where you place it and the start and end points move relative to the starting position according to the '''startposition''' value.

Revision as of 22:23, 12 May 2006

  • Clarification of startposition and SetPosition
I felt it was clearer to state that the brush does not initially move from where you place it in the map. Rather, the start position parameter determines where the starting position and end positions are to be relative to the spawned position.
Also, my experimenting indicates the movedistance is not modified by SetPositionBJ