How can I make this part match the one its next to?

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

  1. What do you want to achieve? Keep it simple and clear!
    I have a portal placing system and I want it to rotate with the wall Kind of like this.
    https://i.imgur.com/dvL2QGo.png
  2. What is the issue? Include screenshots / videos if possible!
    My issue is that I am not sure how to do this, here is an example of what I don’t want: https://i.imgur.com/QL3aLV0.png
  3. What solutions have you tried so far? Did you look for solutions on the Developer Hub?
    I have tried looking around for possible solutions nothing seems to work in my case
    Thanks in advanced.

Could you not cast a ray and then use it’s normal vector to place it upon the parts surface?

1 Like

What you can do is weld those portals to the main primary part and from there you can rotate the primary part, which will move all connections with it.

They place separately therefore that won’t work

have you tried messing around with their CFrames?

Yes, I haven’t been able to get anything to match perfect depending on the wall

Maybe Change which way the image is facing and change the XYZ of the shape… if that makes sense, the scripts are probably working fine, but change which way the image is facing:
this is example only
lets say this is which way you want the portal to face BUT


when the scripts start working it changes the portal This way:

That is ok, you just need to do this: (keep track of the moon image as reference)
image
Last you just change which way the image is facing:

Hope this helps

It doesn’t have an image, it uses view points