Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

How do you make wedges without a mesh?

In studio, clicking 'part' will make a wedge (triangle) part. However, it always makes it with the hypotenuse on the same side. This means the x value is what I want to be y and y is what I want to be x. How can I make a wedge with these dimensions switched? Thank you!

1 answer

Rotate it. You can use Part.CFrame=Part.CFrame*CFrame.Angles(math.pi/2,0,math.pi) to switch the X/Y and keep the hypotenuse on the same face.

3 comments

0

This conflicts with a script I made and it would need to be rotated on two different dimensions. Can you get wedges that have hypotenuses on, say, x z instead?

0

again, rotate it. It's a 3D shape, it can be rotated on all of the 3D axes.

0

No need to even use a script, just take the rotate tool in studio.

This discussion is preserved as it was. New answers, comments, and votes are closed.