s&box docs

public abstract class Sandbox.PhysicsJointBuilder

Provides ability to generate a physics joint for a `Sandbox.Model` at runtime.

Constructors

Showing 1 constructors

Properties

Showing 7 properties

public float Sandbox.PhysicsJointBuilder.AngularStrength { get; set; }

The maximum angular force/torque the joint can withstand before breaking.

public int Sandbox.PhysicsJointBuilder.Body1 { get; set; }

The index of the first body connected by the joint.

public int Sandbox.PhysicsJointBuilder.Body2 { get; set; }

The index of the second body connected by the joint.

public bool Sandbox.PhysicsJointBuilder.EnableCollision { get; set; }

Whether the connected bodies can collide with each other.

public float Sandbox.PhysicsJointBuilder.LinearStrength { get; set; }

The maximum linear force the joint can withstand before breaking.

Metadata

FieldValue
NamespaceSandbox
Typeclass
AssemblySandbox.Engine
Doc IDT:Sandbox.PhysicsJointBuilder

On this page