Separate gravity on 2d layers ?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By mrgreen9x

Is it possible to have different
layers with its own gravity served by physics engine ?

e.g. 2 rigid bodies and 2 targets=gravity points on separate layers in 2d
set target pos by mouse click (changing layer mode)
and each body stick around its layer gravity point target

how to achieve this ? thx !