API ReferenceSandbox
public abstract class Sandbox.PhysicsJointBuilder
Provides ability to generate a physics joint for a `Sandbox.Model` at runtime.
Constructors
Showing 1 constructors
protected PhysicsJointBuilder()
No results match this filter.
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 Transform Sandbox.PhysicsJointBuilder.Frame1 { get; set; }
The joint frame in the local space of `Sandbox.PhysicsJointBuilder.Body1`.
public Transform Sandbox.PhysicsJointBuilder.Frame2 { get; set; }
The joint frame in the local space of `Sandbox.PhysicsJointBuilder.Body2`.
public float Sandbox.PhysicsJointBuilder.LinearStrength { get; set; }
The maximum linear force the joint can withstand before breaking.
No results match this filter.
Metadata
| Field | Value |
|---|---|
| Namespace | Sandbox |
| Type | class |
| Assembly | Sandbox.Engine |
| Doc ID | T:Sandbox.PhysicsJointBuilder |