Editing Mesh

Jump to: navigation, search

Warning: The database has been locked for maintenance, so you will not be able to save your edits right now. You may wish to copy and paste your text into a text file and save it for later.

The administrator who locked it offered this explanation: Server migration

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision Your text
Line 86: Line 86:
 
| '''face''' || Start a face (required), see below.
 
| '''face''' || Start a face (required), see below.
 
|}
 
|}
 +
 
Valid parameters within the face sub-object:
 
Valid parameters within the face sub-object:
{|{{Prettytable}}
+
 
|-
+
;vertices: Numbered list of vertices for this face. (requires at least three)
| {{Hl3}} |'''Sub-object'''
+
;normals: Numbered list of normals for this face.
| {{Hl3}} |'''Description'''
+
;texcoords: Numbered list of texture coordinates for this face.
|-
+
;phydrv: Assign a [[Physics|physics driver]] to this face only.
| '''vertices''' || Numbered list of vertices for this face. (requires at least three).
+
;smoothbounce: use normals to determine shot ricochets for this face.
|-
+
;noclusters: ?
| '''normals''' || Numbered list of normals for this face.
+
;drivethrough: Tanks can drive through this face.
|-
+
;shootthrough: Tanks can shoot through this face.
| '''texcoords''' || Numbered list of texture coordinates for this face.
+
;passable: Tanks can both shoot and drive through this face
|-
+
;matref: Assign a [[material]] to this face.
| '''phydrv''' || Assign a [[Physics|physics driver]] to this face only.
+
 
|-
+
| '''smoothbounce''' || use normals to determine shot ricochets for this face.
+
|-
+
| '''noclusters''' || ?.
+
|-
+
| '''drivethrough''' || Tanks can drive through this face.
+
|-
+
| '''shootthrough''' || Tanks can shoot through this face.
+
|-
+
| '''passable''' || Tanks can both shoot and drive through this face.
+
|-
+
| '''matref''' || Assign a [[material]] to this face.
+
|}
+
 
Meshes have full support for [[Material]] (wherein custom textures can be defined) and [[Physics Drivers]].
 
Meshes have full support for [[Material]] (wherein custom textures can be defined) and [[Physics Drivers]].
  

Please note that all contributions to BZFlagWiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see BZFlagWiki:Copyrights for details). Do not submit copyrighted work without permission!

To edit this page, please answer the question that appears below (more info):

Cancel | Editing help (opens in new window)

Templates used on this page:

Retrieved from "https://wiki.bzflag.org/Mesh"