This wiki is archived and useful information is being migrated to the main bzflag.org website
Difference between revisions of "Meshpyr"
(→Code) |
(→Appearance) |
||
Line 6: | Line 6: | ||
==Appearance== | ==Appearance== | ||
An meshpyr with out a material definition will use the default material used by a standard [[pyramid]] object. Geometrically a meshpyr is identical to a standard [[pyramid]] object. | An meshpyr with out a material definition will use the default material used by a standard [[pyramid]] object. Geometrically a meshpyr is identical to a standard [[pyramid]] object. | ||
+ | |||
+ | meshpry | ||
+ | name example 1 | ||
+ | position 0.0 0.0 0.0 | ||
+ | size 15 15 15 | ||
+ | rotation 0.0 | ||
+ | matref Mymaterial | ||
+ | phydrv MyPhydrv | ||
+ | end | ||
+ | |||
+ | name=name | ||
+ | position=positon on map | ||
+ | rotation=rotate on z axis | ||
+ | size=size amount | ||
+ | matref=apply a material/texture here | ||
+ | phydrv=assign a physics driver | ||
==Editor Support== | ==Editor Support== |
Revision as of 01:37, 21 August 2007
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
An meshpyr with out a material definition will use the default material used by a standard pyramid object. Geometrically a meshpyr is identical to a standard pyramid object.
meshpry name example 1 position 0.0 0.0 0.0 size 15 15 15 rotation 0.0 matref Mymaterial phydrv MyPhydrv end
name=name position=positon on map rotation=rotate on z axis size=size amount matref=apply a material/texture here phydrv=assign a physics driver
Editor Support
The meshpyr object is only fully supported by the BZWTools blender plug-in.