Api Sandbox BallJointBuilder
class

BallJointBuilder

public sealed class BallJointBuilder : PhysicsJointBuilder

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

Properties

Name Type Description
EnableSwingLimit Boolean Whether the joint enforces a swing angle limit.
EnableTwistLimit Boolean Whether the joint enforces a twist angle limit.
SwingLimit Single Maximum allowed swing angle in degrees.
TwistLimit Vector2 Minimum and maximum allowed twist angles in degrees.

Methods

BallJointBuilder WithSwingLimit(Single v)
BallJointBuilder WithTwistLimit(Single min, Single max)
Assembly: Sandbox.Engine Namespace: Sandbox Full Name: Sandbox.BallJointBuilder