Ray fix and character example update