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 » Roblox » Suggestions & Ideas
Home Search
 

Re: ManualMesh

Previous Thread :: Next Thread 
REDALERT2 is not online. REDALERT2
Joined: 25 Jul 2008
Total Posts: 679
21 Nov 2011 07:56 PM
An object used to create a mesh.

It would include the basic properties of all objects and also the Scale and Offset properties in other mesh objects.

It would have four extra functions with it:

SetFace(V1,V2,V3,Name,LookVector)
-Creates a mesh face.
-If V1-3 are (0,0,0) then it removes the face with the given name.

[V1,(Vector3,Face)] Vector3 of the first point of a mesh face, or could be a Face which makes the rest of the arguments uneeded.
[V2,(Vector3,String)] Second point, if V1 is a Face then this is the Name of the face.
[V3,(Vector3)] Third point.
[Name,(String)] Used for selecting the face this function creates.
[LookVector,Vector3] Makes one side of the face look solid, and the other empty, if LookVector is (0,0,0) or is parallel to the face, both sides will be solid, if LookVector is nil, then it becomes a Vector3 of (0,0,0).

GetFaces()
-Returns a table of the names of the various faces in the mesh.

GetFace(Name)
-Returns the Face with the given name.
-If there is no face with the name it will return nil.

[Name,(String)] The name of the desired face.

RemoveFace(Name)
-Removes a face with the name of the given Name string.

[Name,(String)] The name of the desired face.




Face
-table, global like Vector3 and math are.

Face.new(V1,V2,V3,LookVector)
-Returns a Face userdata value.

[V1,(Vector3)] Vector3 of the first point.
[V2,(Vector3)] Second point.
[V3,(Vector3)] Thrid point.
[LookVector,(Vector3)] Makes one side of the face look solid, and the other empty, if LookVector is (0,0,0) or is parallel to the face, both sides will be solid, if LookVector is nil, then it becomes a Vector3 of (0,0,0).

Face (What is returned with the Face.new function)
-userdata, values correspond with arguments of the Face.new function

Face.Vec1
Face.Vec2
Face.Vec3
Face.LookVector




I'm sure I have made some errors in typing this. Most that read this will probably be confused so please leave questions and I will try to answer.
Report Abuse
AfroSlice is not online. AfroSlice
Joined: 12 Jun 2011
Total Posts: 5023
21 Nov 2011 07:59 PM
This made my eyes melt and steam to come out of my ears.

- Twilight Sparkle is my Lil' Pwny
Report Abuse
REDALERT2 is not online. REDALERT2
Joined: 25 Jul 2008
Total Posts: 679
21 Nov 2011 08:02 PM
@AfroSlice, Probably the same thing for most players that see this...
Report Abuse
AfroSlice is not online. AfroSlice
Joined: 12 Jun 2011
Total Posts: 5023
21 Nov 2011 08:03 PM
except for the ppl from scripting helpers.

- Twilight Sparkle is my Lil' Pwny
Report Abuse
AfroSlice is not online. AfroSlice
Joined: 12 Jun 2011
Total Posts: 5023
21 Nov 2011 08:05 PM
nobodeh is posting.

- Twilight Sparkle is my Lil' Pwny
Report Abuse
REDALERT2 is not online. REDALERT2
Joined: 25 Jul 2008
Total Posts: 679
22 Nov 2011 02:26 PM
BUMP
Report Abuse
CoolSuper63 is not online. CoolSuper63
Joined: 21 Nov 2010
Total Posts: 1165
22 Nov 2011 02:38 PM
Support.
Report Abuse
RATEXmegaGAMER is not online. RATEXmegaGAMER
Joined: 10 Dec 2010
Total Posts: 4046
22 Nov 2011 02:40 PM
Support - NOT
Joking :3

~RATEXmegaGAMER~
-Gamer for life-
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Roblox » Suggestions & Ideas
   
 
   
  • 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