add constraint character moving