This wiki is archived and useful information is being migrated to the main bzflag.org website
Difference between revisions of "Meshpyr"
From BZFlagWiki
m (→Appearance: meshpry?) |
(→Appearance: added wiki table) |
||
(3 intermediate revisions by 3 users not shown) | |||
Line 5: | Line 5: | ||
==Appearance== | ==Appearance== | ||
− | An meshpyr | + | An meshpyr without a material definition will use the default material used by a standard [[pyramid]] object. Geometrically a meshpyr is identical to a standard [[pyramid]] object. |
+ | {| | ||
+ | | | ||
+ | meshpyr | ||
+ | name example 1 | ||
+ | position 0.0 0.0 0.0 | ||
+ | size 15 15 15 | ||
+ | rotation 0.0 | ||
+ | matref Mymaterial | ||
+ | phydrv MyPhydrv | ||
+ | end | ||
+ | |} | ||
− | + | Valid parameters for the Meshpyr object are: | |
− | + | {|{{Prettytable}} | |
− | + | |- | |
− | + | | {{Hl3}} |'''Parameter''' | |
− | + | | {{Hl3}} |'''Description''' | |
− | + | |- | |
− | + | | '''name''' || name. | |
− | + | |- | |
− | + | | '''position''' || position on map. | |
− | + | |- | |
− | + | | '''rotation''' || rotate on z axis. | |
− | + | |- | |
− | + | | '''size''' || size amount. | |
− | + | |- | |
− | + | | '''matref''' || apply a material/texture here. | |
+ | |- | ||
+ | | '''phydrv''' || assigns a physics driver. | ||
+ | |} | ||
==Editor Support== | ==Editor Support== |
Latest revision as of 19:50, 1 December 2016
A meshpyr is a BZW map object that constructs a specialized mesh that has the geometric appearance of a Pyramid. It replaces the pyramid object as of v2.0.0 and is compatible with materials and physics drivers.
Appearance[edit]
An meshpyr without a material definition will use the default material used by a standard pyramid object. Geometrically a meshpyr is identical to a standard pyramid object.
meshpyr name example 1 position 0.0 0.0 0.0 size 15 15 15 rotation 0.0 matref Mymaterial phydrv MyPhydrv end |
Valid parameters for the Meshpyr object are:
Parameter | Description |
name | name. |
position | position on map. |
rotation | rotate on z axis. |
size | size amount. |
matref | apply a material/texture here. |
phydrv | assigns a physics driver. |
Editor Support[edit]
The meshpyr object is only fully supported by the BZWTools blender plug-in.