follow path/ move object

follow path/ move object

Re: follow path/ move object Posted by LIVEWIRE898 on Fri Dec 10th 2004 at 6:32am
LIVEWIRE898
32 posts
Posted 2004-12-10 6:32am
32 posts 13 snarkmarks Registered: Nov 27th 2004 Occupation: Architectural Tech Location: Canada
What I am trying to do is move an object from point A to point B using a func_button. I know how to tie the button in the O/I part. What I dont know is what entity, func or whatever I need to use to get my object/brush to move!! HELP ME PLEASE!!
Re: follow path/ move object Posted by Nanodeath on Fri Dec 10th 2004 at 8:05am
Nanodeath
356 posts
Posted 2004-12-10 8:05am
356 posts 66 snarkmarks Registered: Nov 11th 2004 Occupation: Student - Bioengineering Location: Seattle, WA, USA
Um...if it's a linear move you can use func_movelinear, but otherwise you can use a func_tracktrain combined with path_track entities. BTW, you set the train's First Stop Target to the path_track where you want it to start, and you set where you want it to go next in the settings of the path_track entity.
Re: follow path/ move object Posted by LIVEWIRE898 on Fri Dec 10th 2004 at 4:13pm
LIVEWIRE898
32 posts
Posted 2004-12-10 4:13pm
32 posts 13 snarkmarks Registered: Nov 27th 2004 Occupation: Architectural Tech Location: Canada
With a func_movelinear... how do you set it to move on a trigger? I mean I dont see any flags in it to tell it to start inactive!!
Re: follow path/ move object Posted by Nanodeath on Fri Dec 10th 2004 at 6:55pm
Nanodeath
356 posts
Posted 2004-12-10 6:55pm
356 posts 66 snarkmarks Registered: Nov 11th 2004 Occupation: Student - Bioengineering Location: Seattle, WA, USA
It always starts inactive. You have to get another object to activate it with the Open output. Yes, unfortunately that func_movelinear site isn't complete. Here are the inputs that you might be interested in...(gotten from the in-Hammer help)

[size=13]
[color=white]<!--box-->
<TABLE cellSpacing=1 cellPadding=2 width="95%" align=center>
<TBODY>
<TR>
<TD style="FONT-SIZE: 11px"><B>Open
</B> Move the brush to the end position (starting position + (move direction * move distance)).


Close
Move the brush to the starting position.


SetPosition
<string> Move the brush to a specific position between 0.0 and 1.0, where 0 is the starting position and 1 is the starting position + (move direction * move distance).

</TD></TR></TBODY></TABLE><!--/box-->[/color][/size]

</B>