i`m not sure how to call this post

the thing what i wanna do is to create a entity
in the front or in the back or where a trace hits the player
and keep a bit distance to the player, maybe a dist of 10 or 50 quants to the hit.x ponit
it should be move and rotate with the player

some ideas how to handle this?
create an ent by a trace hit, i can do myself, but the distance thing i have a prolem with