added object behavior component, and fixed error in how rotations are handled