Just 3d rotational matrix test there is no interactive code, only move to 3d location
feel free to copy, it's relatively simple