Swinging brush
Quote from gompasta on June 4, 2011, 9:26 amWithout 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?
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?
Quote from Aldéz on June 4, 2011, 12:07 pmI'm not good with the physics entities, but maybe "phys_ballsocket" and "phys_thruster" can help?
I'm not good with the physics entities, but maybe "phys_ballsocket" and "phys_thruster" can help?
Quote from ChickenMobile on June 4, 2011, 12:13 pmTry 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.
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.
Quote from gompasta on June 4, 2011, 12:50 pmThe problem is, i want it to be a smooth motion. With that, it will change direction too abruptly, and then, making it look awful.
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.
Quote from ChickenMobile on June 4, 2011, 1:23 pmAll 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.
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.
Quote from gompasta on June 4, 2011, 2:11 pmI 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.
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.
