Table of Contents

Class WeldJointOptions

Namespace
Stride.CommunityToolkit.Box2D
Assembly
Stride.CommunityToolkit.Box2D.dll

Glues two bodies together. Zero hertz is rigid; a positive value makes the weld springy on that axis, which is how breakable or soft assemblies are built.

public sealed record WeldJointOptions : JointOptionsBase, IEquatable<JointOptionsBase>, IEquatable<WeldJointOptions>
Inheritance
WeldJointOptions
Implements
Inherited Members

Properties

AngularDampingRatio

Angular damping ratio.

public float? AngularDampingRatio { get; init; }

Property Value

float?

AngularHertz

Angular spring stiffness, in hertz; 0 is rigid.

public float? AngularHertz { get; init; }

Property Value

float?

LinearDampingRatio

Linear damping ratio.

public float? LinearDampingRatio { get; init; }

Property Value

float?

LinearHertz

Linear spring stiffness, in hertz; 0 is rigid.

public float? LinearHertz { get; init; }

Property Value

float?