Swing like a metronome?
Dooki
Member Posts: 247
Hey all, I'm trying to make a wall swing like a metronome. I took a stab at this but need help. I am using a Timer that controls rotate in clock and counter clock. Any advice?
- I need the wall to pivot where it touches the ground. (right it rotates about it's center.) How do you change pivot location?
- I need it to swing 159* and 45* back and forth. (like a metronome)
Thanks all!
- I need the wall to pivot where it touches the ground. (right it rotates about it's center.) How do you change pivot location?
- I need it to swing 159* and 45* back and forth. (like a metronome)
Thanks all!
Comments
The waving hand demo looks like what I'm aiming for!
You would just use the "circle" math in the chainsaw/lightsaber/frontal_shield demo and reduce the "distance" value to bring the one end of the chainsaw/lightsaber/shield in closer to the pivot point. As they are now, they are some distance from the pivot point to account for the presence of the circle/jedi/spaceship (respectively).
The hands demo uses similar math to force the hand to point the correct way around the edge of the circle in the middle as well as rotate about an arc on the circle but techinally, if I recall, they still have some transparency where the arm should be...so maybe not the best solution for you if you will use collision on the pivoting wall of yours.
I think I get what you're saying. I'll give this a try.