need help making brush rotate atop tracktrain

static2601

L2: Junior Member
Nov 4, 2010
79
4
Hi, im trying to make a func_tracktrain with a rotating propeller on top of it while it moves around the map. Ive tryed placing a motor on it with the propeller attached, but i couldnt parent the motor to the train. im hoping theres a way to do this. i have moderate experience with hammer, a year or so. As of now, im guessing the only way to do it is create a rotating model to parent to it. hopefully you guys can help me out. thanks

EDIT: ok i already know how to attach a motor a func_physbox and have it move, what im trying to do is have this moving brush (propeller) spin on top the train while its moving. what i have is an air vehicle that needs to have a propeller, for looks obviously, thanks
 
Last edited:

KingOfSandvich

L1: Registered
Jan 18, 2011
26
12
Here's how to make a brush spin forever without func_rotating:

Make a momentary_rot_button (the brush) and a logic_relay, then set up these Inputs:

logic_relay -> OnSpawn -> momentary_rot_button -> SetPosition 1
logic_relay -> OnTrigger -> momentary_rot_button -> SetPosition 1

momentary_rot_button -> OnFullyClosed -> momentary_rot_button -> SetPositionImmediately 0
momentary_rot_button -> OnFullyClosed -> logic_relay -> Trigger

The momentary_rot_button is your spinning brush, and can be parented just fine. It's not part of the physics system, so it won't twitch or collide.
 

static2601

L2: Junior Member
Nov 4, 2010
79
4
Here's how to make a brush spin forever without func_rotating:

Make a momentary_rot_button (the brush) and a logic_relay, then set up these Inputs:

logic_relay -> OnSpawn -> momentary_rot_button -> SetPosition 1
logic_relay -> OnTrigger -> momentary_rot_button -> SetPosition 1

momentary_rot_button -> OnFullyClosed -> momentary_rot_button -> SetPositionImmediately 0
momentary_rot_button -> OnFullyClosed -> logic_relay -> Trigger

The momentary_rot_button is your spinning brush, and can be parented just fine. It's not part of the physics system, so it won't twitch or collide.
Thanks you so much for this. It worked perfectly and saved me alot of time and trouble. would have never thought to use that way. thanks :)