Skip to main content

create_height_field_shape

Function create_height_field_shape 

Source
pub fn create_height_field_shape(
    world: &mut World,
    body_id: BodyId,
    def: &ShapeDef,
    height_field: &HeightFieldData,
) -> ShapeId
Expand description

(b3CreateHeightFieldShape)

Height fields must be on static bodies (enforced in [create_shape]).