Crate bevy_verlet[−][src]
Expand description
bevy_verlet
Simple Verlet points and sticks implementation for bevy.
Features
You can simply add a VerletPoint component on any entity with a Transform and the verlet physics will apply.
Connect points using VerletStick to constrain movement (see examples).
Lock some points by adding the VerletLocked component on a VerletPoint entity.
Customize friction and gravity with the VerletConfig resource.
Works in 2D and 3D.
Cargo features
debug
This feature will add a system drawing debug lines for every stick using bevy_prototype_debug_lines
Structs
Plugin for Verlet physics
Verlet physics configuration
Component preventing application of VerletPoint physics.
Main verlet physics component. Any entity with this component will have physics applied to it
Constraint component between two VerletPoint.
Component adding a maximum tension to a VerletStick