generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

Re: How do I make a tetrahedron?

Previous Thread :: Next Thread 
haskjdfsask is not online. haskjdfsask
Joined: 08 Jun 2014
Total Posts: 810
08 Aug 2017 01:07 PM
For those who don't know, a tetrahedron is like a CornerWedgePart but it's for smoothly/seamlessly connecting 3 axis wedges instead of 2. I tried using 3 negative wedges on a normal part but this leaves a "bump" on the rotated plane.

Here is a filemesh:

roblox
.
com
/
asset?id=11294922

[X post from Game Design because that place is flooded]
Report Abuse
haskjdfsask is not online. haskjdfsask
Joined: 08 Jun 2014
Total Posts: 810
08 Aug 2017 04:37 PM
byno
Report Abuse
veryawesomeboy is not online. veryawesomeboy
Joined: 21 May 2013
Total Posts: 479
08 Aug 2017 04:39 PM
use blender


Report Abuse
haskjdfsask is not online. haskjdfsask
Joined: 08 Jun 2014
Total Posts: 810
08 Aug 2017 04:46 PM
Filemeshes and usermeshes are not supported by UnionOperations...

It HAS to be a native union
Report Abuse
veryawesomeboy is not online. veryawesomeboy
Joined: 21 May 2013
Total Posts: 479
08 Aug 2017 04:47 PM
make thin triangles with solid modelling and glue them together xD


Report Abuse
haskjdfsask is not online. haskjdfsask
Joined: 08 Jun 2014
Total Posts: 810
08 Aug 2017 04:57 PM
I would try that, I can even work out the math to position it perfectly, but roblox limit's the position precision and the tetrahedron will become noticeably "offset"
Report Abuse
ThanksRoBama is not online. ThanksRoBama
Joined: 21 May 2017
Total Posts: 127
08 Aug 2017 05:01 PM
From Wikipedia:

"...The tetrahedron in this case has edge length 2√2. Inverting these coordinates generates the dual tetrahedron, and the pair together form the stellated octahedron, whose vertices are those of the original cube.

Tetrahedron: (A, A, A), (A, −A, -A), (−A, A, −A), (−A, −A, A)"

-from en.wikipedia.

org/wiki/Tetrahedron#Regular_tetrahedron

Replace the "A"'s with "1"'s.

So you literally just place parts at those coordinates. You can then make the sides of the tetrahedron by using a manual triangle terrain plugin. The articles for all of the regular polyhedra have these coordinate things, so constructing them is easy as pie
Report Abuse
haskjdfsask is not online. haskjdfsask
Joined: 08 Jun 2014
Total Posts: 810
08 Aug 2017 05:01 PM
limits*
Report Abuse
haskjdfsask is not online. haskjdfsask
Joined: 08 Jun 2014
Total Posts: 810
08 Aug 2017 05:03 PM
^^ That's a regular tetrahedron. I want mine to be like the filemesh described (one angle is 90 degrees on all sides)
Report Abuse
ThanksRoBama is not online. ThanksRoBama
Joined: 21 May 2017
Total Posts: 127
08 Aug 2017 05:03 PM
I've done this myself several times, and inaccuracy in the positions don't make any noticable errors. The errors are too small to be seen with the ##### eye (or pixel I guess). Many triangle terrain plugins uses wedges that are *thin*, but not completely flat. To fix this, put a SpecialMesh inside the wedges and set the Scale to 0, 1, 1. This makes them completely flat.
Report Abuse
ThanksRoBama is not online. ThanksRoBama
Joined: 21 May 2017
Total Posts: 127
08 Aug 2017 05:05 PM
Oh okay I missed that part.
Report Abuse
haskjdfsask is not online. haskjdfsask
Joined: 08 Jun 2014
Total Posts: 810
08 Aug 2017 05:09 PM
Meh, it's the only thing I can do I guess. I'll work on the math of creating what I want, then perform it on large parts, then scale them to smaller proportions once unioning is done. Then the errors should not be a problem.
Report Abuse
AxonMega is online. AxonMega
Joined: 29 Aug 2014
Total Posts: 2403
08 Aug 2017 05:13 PM
www.roblox.com/library/945690165/Tetrahedron
Report Abuse
veryawesomeboy is not online. veryawesomeboy
Joined: 21 May 2013
Total Posts: 479
08 Aug 2017 07:00 PM
I think I have an idea on how to make one without any errors. First, get a rectangular prism, and plot the 4 vertices on it, 3 on 1 side, 1 on the other. Then, with solid modeling and maybe some scripting, you could place parts that would fit on each of the 4 sides, and then solid model it.


Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image