Updated code in example
Updated example scene
Small improvements in core