feat: zones

This commit is contained in:
Nova
2022-10-20 11:32:12 -04:00
parent 44b91bf0e8
commit b189a6a73c
16 changed files with 244 additions and 17 deletions

View File

@@ -83,7 +83,7 @@ pub fn create_cylinder_field_flex(
let parent = find_spatial_parent(&calling_client, info.parent_path)?;
let transform = parse_transform(info.transform, true, true, false)?;
let node = node.add_to_scenegraph();
Spatial::add_to(&node, Some(parent), transform)?;
Spatial::add_to(&node, Some(parent), transform, false)?;
CylinderField::add_to(&node, dbg!(info.length), dbg!(info.radius))?;
Ok(())
}