Characters stop moving when they hit objects