Only way I can think of is to simulate gravity yourself for only objects that have the "gravity enable" instance variable as true.
For example: [attachment=0:2f57zx5l][/attachment:2f57zx5l]
Edit:
Pick it before.
Isn't the gravity variable global, not instance based?