Api Sandbox Physics PhysicsSpring
struct

PhysicsSpring

public sealed struct PhysicsSpring

Spring related settings for joints such as FixedJoint.

Constructors

PhysicsSpring(Single frequency, Single damping, Single maximum)

Properties

Name Type Description
Frequency Single The stiffness of the spring
Damping Single The damping ratio of the spring, usually between 0 and 1
Maximum Single For weld joints only, maximum force. Not for breaking.
Assembly: Sandbox.Engine Namespace: Sandbox.Physics Full Name: Sandbox.Physics.PhysicsSpring