Hello devs,
How do I change part’s surface side? Let’s say the BasePart has been rotated 90 degrees, and sides of the part change (Top, Front, Bottom, Back). So how do I make the sides stay still as if it was 0 degrees but the part is rotated any angle?
I’m not really following your question, would you mind clarifying a bit more?
Are you trying to get a constant direction that’s relative to the part’s current rotation?
BasePart turns 90 degrees and surface sides top, front, back, left, right, bottom remain constant.
I don’t understand what you’re trying to do, to be more specific.
To me this does not make any sense, because if the brick is physically rotating, its sides will rotate as well.
Could you explain to me your use case? That might help me better understand what you’re actually trying to do here
I made a game where you must place a part on top of a part.
if mouse.TargetSurface.Value == 1 then
createBlock(mouse.Target.Position + Vector3.new(0,mouse.Target.Size.Y,0))
end
This creates a new BasePart and moves it above the part. I’m adding rotation system so when you rotate the part it still creates a new BasePart on top of a part.
You could possibly have a variable to determine which direction your part is facing.
Could you please tell me how can I do that?