physicsShape#
Defines a 3D object’s physical shape to be used as a world object.
For example:
module YourModule {
physicsShape ramp20segment5w {
mesh = physics/ramp20|Segment5,
translate = 4.0 0.0 0.0,
rotate = 0.0 270.0 0.0,
}
}
Hierarchy#
Valid Parent Blocks:
ID Properties#
This block should have an ID.
Parameters#
- mesh 🔗
Type:
stringThe path to the model’s mesh file, relative to the folder
media/models_X.
- rotate 🔗
Type:
arrayThe rotation of the model, in the format
x y z.
- translate 🔗
Type:
arrayThe position offset of the model, in the format
x y z.