update based on character position instead of sprite, allows floor detection based on floor height