This is a read-only archive of the Framer Community on Facebook.

What is Framer? Join the Community
Return to index
John Framer
Posted Sep 23 - Read on Facebook

what are the best animation options and curve settings to simulate objects falling (with gravity)?

Merci.

9 Comments

Emanuele Salamone

If you want your object to fall outside the screen, an ease-in curve will be ok.
Specific settings depends on the appearance you want to give to your falling object (weight, friction, etc...).

John Framer

Cheers Emanuele.... yeah I tried the ease in. Does not look right. If I wanted to assign a mass and gravity to an object (no friction) how would I go about animating it?

Emanuele Salamone

I think i explained myself wrong: i wanted to say that you can tweak curve parameters to simulate things like mass and gravity, but there is no mass and gravity in FramerJS.

Emanuele Salamone

Anyway, what kind of object/movement are you trying to achieve?

John Framer

I know.. I am asking how could I fake it? given that curve options give me the ability to add only velocity and time. No matter what height I release the object from it will take the set time to reach the end animation point. Which is not realistic.

Emanuele Salamone

ok, for the fixed time problem: you can dynamically set time, based on the starting point

Emanuele Salamone

Maybe you can try the Utils.modulate function

John Framer

cool I get you, thanks will give it a go.

Koen Bok

What you really want is a physics engine like box2d or http://schteppe.github.io/p2.js/ If you are good with JS they shouldn't be too hard to use with Framer.

Read the entire post on Facebook