Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » Keychain Physics
- -duckergames-
-
New Scratcher
13 posts
Keychain Physics
calculate restoring force pulling back to 0 degrees
update velocity and apply friction
apply velocity to current angle
if its too stiff and stops too fast: drop stiffness to 0.04, set damping to 0.95.
if it swings endlessly like a pendulum: Drop damping slightly like 0.92
if its too loose or slow to react: raise stiffness slightly like 0.07
try this : D
update velocity and apply friction
apply velocity to current angle
if its too stiff and stops too fast: drop stiffness to 0.04, set damping to 0.95.
if it swings endlessly like a pendulum: Drop damping slightly like 0.92
if its too loose or slow to react: raise stiffness slightly like 0.07
try this : D
- Discussion Forums
- » Help with Scripts
-
» Keychain Physics