using trajectories of game objects