Create a new spring dynamics system.
Spring configuration (stiffness, damping, mass)
OptionalinitialPosition: Vector3Starting position of the spring. Default: origin
Optionalposition: Vector3Update spring physics for one time step.
Computes spring force, damping force, and updates position based on physics simulation.
The position the spring is attached to (moves with parent object)
Time step in seconds (typically frame delta)
New position of the spring
Physical Spring Dynamics System.
Simulates realistic spring-mass-damper physics for secondary motion like hair, cloth, tails, and dangling objects. Based on Hooke's law with velocity damping.
Use Cases:
Physics Parameters:
Example
Example
Example