How would I get the CFrame of an area right next to an object?

So basically I have this cannon, and I want to put a player right next to it and have them put a ram rod into it, but I already think I know how to do that part with lerp. the issue is that I don’t know how to get the player to this spot
image
the cannon can rotate, so I don’t think I can just add vectors to it
anyone know how I could do this?

Also I have two attachments in the barrel
image

The developer hub has an amazing article about basic CFrame operations…

If you read the section entitled “Relative Position,” it will explain using :ToWorldSpace which will be what you need here…

2 Likes