Add gravity.

Signed-off-by: cyberzhg <cyberzhg@gmail.com>
Merge branch 'gravity'