Please or Register to create posts and topics.

Swinging brush

Without going into spoilers for my new map series, i need a swinging, back and forth motion, for a brush with others parented to that. I have got a func_rotating to test the parenting and such, and that works fine, but i need a smooth back/forth motion for that brush.

Any ideas?

I'm not good with the physics entities, but maybe "phys_ballsocket" and "phys_thruster" can help?

Try a func_rot_but (as it can rotate in exact degrees) and can 'swing' by using the inputs 'PressIn' and 'PressOut' When it is 'OnFullyOpen' and 'OnFullyClosed'. Make sure that you set it's flag to rotate on either the x or Y plane (depending on what way you want it to swing) and use the spawn angles to spawn 50% one way so it doesn't appear to rotate unnaturally.

?????????????????????????????TWP Releases | My Workshop

The problem is, i want it to be a smooth motion. With that, it will change direction too abruptly, and then, making it look awful.

All I can think of is a func_train that travels between points. You can change the speed of the object between paths but I'm not sure if it can be rotated. Maybe you can have the button parented to an object on a path? Don't know if this would look weird though.

?????????????????????????????TWP Releases | My Workshop

I have never used trains, so i never thought to try that. Anyway, thanks for the replys, but i scrapped that idea, because it doesnt fit in with the map.