Table of Contents

Class SliderConstraint

Namespace
Stride.Physics
Assembly
Stride.Physics.dll
public class SliderConstraint : Constraint, IDisposable, IRelative
Inheritance
SliderConstraint
Implements
Inherited Members
Extension Methods

Properties

AngularDepth

Gets the angular depth.

public float AngularDepth { get; }

Property Value

float

The angular depth.

AngularPosition

Gets the angular position.

public float AngularPosition { get; }

Property Value

float

The angular position.

DampingDirAngular

Gets or sets the damping dir angular.

public float DampingDirAngular { get; set; }

Property Value

float

The damping dir angular.

DampingDirLinear

Gets or sets the damping dir linear.

public float DampingDirLinear { get; set; }

Property Value

float

The damping dir linear.

DampingLimAngular

Gets or sets the damping lim angular.

public float DampingLimAngular { get; set; }

Property Value

float

The damping lim angular.

DampingLimLinear

Gets or sets the damping lim linear.

public float DampingLimLinear { get; set; }

Property Value

float

The damping lim linear.

DampingOrthoAngular

Gets or sets the damping ortho angular.

public float DampingOrthoAngular { get; set; }

Property Value

float

The damping ortho angular.

DampingOrthoLinear

Gets or sets the damping ortho linear.

public float DampingOrthoLinear { get; set; }

Property Value

float

The damping ortho linear.

LinearDepth

Gets the linear depth.

public float LinearDepth { get; }

Property Value

float

The linear depth.

LinearPosition

Gets the linear position.

public float LinearPosition { get; }

Property Value

float

The linear position.

LowerAngularLimit

Gets or sets the lower angular limit.

public float LowerAngularLimit { get; set; }

Property Value

float

The lower angular limit.

LowerLinearLimit

Gets or sets the lower linear limit.

public float LowerLinearLimit { get; set; }

Property Value

float

The lower linear limit.

MaxAngMotorForce

Gets or sets the maximum ang motor force.

public float MaxAngMotorForce { get; set; }

Property Value

float

The maximum ang motor force.

MaxLinearMotorForce

Gets or sets the maximum linear motor force.

public float MaxLinearMotorForce { get; set; }

Property Value

float

The maximum linear motor force.

PoweredAngularMotor

Gets or sets a value indicating whether [powered angular motor].

public bool PoweredAngularMotor { get; set; }

Property Value

bool

true if [powered angular motor]; otherwise, false.

PoweredLinearMotor

Gets or sets a value indicating whether [powered linear motor].

public bool PoweredLinearMotor { get; set; }

Property Value

bool

true if [powered linear motor]; otherwise, false.

RestitutionDirAngular

Gets or sets the restitution dir angular.

public float RestitutionDirAngular { get; set; }

Property Value

float

The restitution dir angular.

RestitutionDirLinear

Gets or sets the restitution dir linear.

public float RestitutionDirLinear { get; set; }

Property Value

float

The restitution dir linear.

RestitutionLimAngular

Gets or sets the restitution lim angular.

public float RestitutionLimAngular { get; set; }

Property Value

float

The restitution lim angular.

RestitutionLimLinear

Gets or sets the restitution lim linear.

public float RestitutionLimLinear { get; set; }

Property Value

float

The restitution lim linear.

RestitutionOrthoAngular

Gets or sets the restitution ortho angular.

public float RestitutionOrthoAngular { get; set; }

Property Value

float

The restitution ortho angular.

RestitutionOrthoLinear

Gets or sets the restitution ortho linear.

public float RestitutionOrthoLinear { get; set; }

Property Value

float

The restitution ortho linear.

SoftnessDirAngular

Gets or sets the softness dir angular.

public float SoftnessDirAngular { get; set; }

Property Value

float

The softness dir angular.

SoftnessDirLinear

Gets or sets the softness dir linear.

public float SoftnessDirLinear { get; set; }

Property Value

float

The softness dir linear.

SoftnessLimAngular

Gets or sets the softness lim angular.

public float SoftnessLimAngular { get; set; }

Property Value

float

The softness lim angular.

SoftnessLimLinear

Gets or sets the softness lim linear.

public float SoftnessLimLinear { get; set; }

Property Value

float

The softness lim linear.

SoftnessOrthoAngular

Gets or sets the softness ortho angular.

public float SoftnessOrthoAngular { get; set; }

Property Value

float

The softness ortho angular.

SoftnessOrthoLinear

Gets or sets the softness ortho linear.

public float SoftnessOrthoLinear { get; set; }

Property Value

float

The softness ortho linear.

SolveAngularLimit

Gets a value indicating whether [solve angular limit].

public bool SolveAngularLimit { get; }

Property Value

bool

true if [solve angular limit]; otherwise, false.

SolveLinearLimit

Gets a value indicating whether [solve linear limit].

public bool SolveLinearLimit { get; }

Property Value

bool

true if [solve linear limit]; otherwise, false.

TargetAngularMotorVelocity

Gets or sets the target angular motor velocity.

public float TargetAngularMotorVelocity { get; set; }

Property Value

float

The target angular motor velocity.

TargetLinearMotorVelocity

Gets or sets the target linear motor velocity.

public float TargetLinearMotorVelocity { get; set; }

Property Value

float

The target linear motor velocity.

UpperAngularLimit

Gets or sets the upper angular limit.

public float UpperAngularLimit { get; set; }

Property Value

float

The upper angular limit.

UpperLinearLimit

Gets or sets the upper linear limit.

public float UpperLinearLimit { get; set; }

Property Value

float

The upper linear limit.

Methods

SetFrames(Matrix, Matrix)

Sets the frames.

public void SetFrames(Matrix frameA, Matrix frameB)

Parameters

frameA Matrix

The frame a.

frameB Matrix

The frame b.