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?
physics - endless swinging bar, want to slow to stop
Moderators: Víctor Paredes, Belgarath, slowtiger
-
- Posts: 4
- Joined: Mon Aug 28, 2006 8:05 am
-
- Posts: 4
- Joined: Mon Aug 28, 2006 8:05 am
well, i just tried enabling the motor to the layer -- speed 0, torque 300, and it seems to help, but that doesn't seem to be logical to require that to make the animation stop -- my understanding is that the motor is there when you DO want perpetual motion and/or push-back against other objects. surely this isn't the only way to make a swinging object come to a stop (?)
Try 500 gravity at 270 degrees, 100 density, pivot on origin, enable motor speed to 0 and motor torque to 50
P.S.
I been messing with this and 500 gravity might be a tad too much, it works around 250, with 50 density and 50 torque, messing with those parameters will get your result you are looking for.
P.S.
I been messing with this and 500 gravity might be a tad too much, it works around 250, with 50 density and 50 torque, messing with those parameters will get your result you are looking for.