Skip to content

Latest commit

 

History

History
10 lines (7 loc) · 357 Bytes

File metadata and controls

10 lines (7 loc) · 357 Bytes

ColliderPlugin

Applying a Collider: Add an AddCollider component to the entity. Boolean is toggle for perfect mesh or approximation, handle is Handle Plugin should detect when a new AddCollider component is created.

.insert(AddCollider::new(true, handle))

let mut handle: Handle = asset_server.load("path-to-my.glb#Scene0");