Okay basically I need help with coding so a player is aligned with an entity with the tags

Okay basically I need help with coding so a player is aligned with an entity with the tags ground for first person movement. Like a player that can fully walk around the planet (the planets have gravity already) But I am not so good with vectors.