Model Position and Rotation Relative to a Part's

You can write your topic however you want, but you need to answer these questions:

  1. What is the issue? I have a Part and Model. I want the Model to always be 1 stud to the right of the Part. However I want it to have the same rotation. I’ve included an image of what I want it to be like.

  2. What solutions have you tried so far? Looked for hours on Developer Forum, found nothing that helped.

After that, you should include more details if you have any. Try to make your topic as descriptive as possible, so that it’s easier for people to help you!

Kind of like this:
image

Feel free to ask questions, thanks.

Here is a better image on what I want:
image

you could pivot the model to the cframe of the part, and then offset by 1x

for example:

local part = workspace.Part
local model = workspace.Model
local offset = CFrame.new(1, 0, 0)

model:PivotTo(part.CFrame*offset)

But keep in mind to also add the size of the model. Because what this does is set the center of the model to the offset.

local offset = CFrame.new(1, 0, 0) * model:GetBoundingBox().X

something liket his may work. lmk if it does.

1 Like

Ok, I’ll try it now, thanks for your reply.

Hmm, it seems to be very very far under it. I’m not sure why though.

Can you screenshot the code u have right now as well as what it does?

Yep: