Skip to content

Current implementation doesn't animate ChatHeads based on physics #5

Description

@brutella

Currently ChatHeads are positioned based on a simple rule (move to the edge of the screen based on the release point). But Facebook built a more sophisticated way of interaction. The whole system is based on real physics (e.g. you can throw a ChatHead from one edge to the other, which is definitely done by calculating the physics).

[...] “We built an entire physics engine that everything runs on,” he says. “It’s more like your app is built like a game, as opposed to built with app components.” [...] Source <- maybe that's only related to Android.

I'm not sure if the animations are done by a physics engine or by "simply" calculating the animation path based on gravity and mass and the animation itself is done by CoreAnimation.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions