Dayz Build 1.29.163047, Scripts Rev. 123548
Dayz Code Explorer by Zeroy
Loading...
Searching...
No Matches
physicsgeomdef.c
Go to the documentation of this file.
1
5
10{
11 string Name;
13 vector Frame[4] = {Vector(1, 0, 0), Vector(0, 1, 0), Vector(0, 0, 1), Vector(0, 0, 0)};
14 int ParentNode = -1;
15 string MaterialName;
17
18 void PhysicsGeomDef(string name, dGeom geom, string materialName, int layerMask)
19 {
20 Name = name;
21 Geometry = geom;
22 MaterialName = materialName;
23 LayerMask = layerMask;
24 }
25
26}
27
PlayerSpawnPresetDiscreteItemSetSlotData name
one set for cargo
TODO doc.
Definition enscript.c:118
vector Frame[4]
Local transformation.
string Name
Name of the element.
void PhysicsGeomDef(string name, dGeom geom, string materialName, int layerMask)
int ParentNode
Bone the element can be attached to.
string MaterialName
Material resource name.
int LayerMask
Bit mask of layers geometry belongs to.
dGeom Geometry
Physics geometry shape.
proto native vector Vector(float x, float y, float z)
Vector constructor from components.
PhysicsGeom dGeom
Geometric shapes relevant for physics simulation.
Definition physicsgeom.c:9