Api Sandbox FixedJointBuilder
class

FixedJointBuilder

public sealed class FixedJointBuilder : PhysicsJointBuilder

Provides ability to generate a fixed joint for a Model at runtime.

Properties

Name Type Description
LinearFrequency Single The frequency of the joint's linear spring in hertz. Higher values make the joint stiffer in translation.
LinearDamping Single The damping ratio for the joint's linear spring. Higher values reduce oscillation in translation.
AngularFrequency Single The frequency of the joint's angular spring in hertz. Higher values make the joint stiffer in rotation.
AngularDamping Single The damping ratio for the joint's angular spring. Higher values reduce oscillation in rotation.

Methods

FixedJointBuilder WithLinearFrequency(Single v)
FixedJointBuilder WithLinearDamping(Single v)
FixedJointBuilder WithAngularFrequency(Single v)
FixedJointBuilder WithAngularDamping(Single v)
Assembly: Sandbox.Engine Namespace: Sandbox Full Name: Sandbox.FixedJointBuilder