physics - endless swinging bar, want to slow to stop
Posted: Thu Jul 29, 2010 12:42 pm
i'm experimenting with the physics engine, and i'm already running into confusion.
i have a rectangle and i have set the origin point to one side of it:
(x = origin)
_______________________________
| x _____________________________|
i enabled physics for the group it is in, and have set the rectangle layer to utilize the origin as its point of rotation in the physics settings for the layer. i have greatly increased gravity and density. when i play the animation, it does seem to reduce its swinging behavior over time, but always gets to a point where it just keeps swinging back and forth, perpetually. i want it to eventually come to a stop. rather quickly, actually -- maybe only swinging a handful of times. think a heavy door in the ceiling, opens downward and swings a few times, but quickly ceases to swing any longer and just hangs down.
any thoughts on proper settings to achieve this?
i have a rectangle and i have set the origin point to one side of it:
(x = origin)
_______________________________
| x _____________________________|
i enabled physics for the group it is in, and have set the rectangle layer to utilize the origin as its point of rotation in the physics settings for the layer. i have greatly increased gravity and density. when i play the animation, it does seem to reduce its swinging behavior over time, but always gets to a point where it just keeps swinging back and forth, perpetually. i want it to eventually come to a stop. rather quickly, actually -- maybe only swinging a handful of times. think a heavy door in the ceiling, opens downward and swings a few times, but quickly ceases to swing any longer and just hangs down.
any thoughts on proper settings to achieve this?