Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How do you make wedges without a mesh?

Asked by 8 years ago

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

Log in to vote
1
Answered by
1waffle1 2908 Trusted Badge of Merit Moderation Voter Community Moderator
8 years ago

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.

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? zabba7461 5 — 8y
0
again, rotate it. It's a 3D shape, it can be rotated on all of the 3D axes. 1waffle1 2908 — 8y
0
No need to even use a script, just take the rotate tool in studio. Perci1 4988 — 8y
Ad

Answer this question