Interface ISliderJoint3D
Interface for a 3D Slider joint in physics.
Inherited Members
Namespace: Evergine.Framework.Physics3D
Assembly: Evergine.Framework.dll
Syntax
public interface ISliderJoint3D : IJoint3D
Properties
AncorInA
Gets the anchor in A.
Declaration
Vector3 AncorInA { get; }
Property Value
Type | Description |
---|---|
Vector3 |
AncorInB
Gets the anchor in B.
Declaration
Vector3 AncorInB { get; }
Property Value
Type | Description |
---|---|
Vector3 |
AngularDepth
Gets the angular depth.
Declaration
float AngularDepth { get; }
Property Value
Type | Description |
---|---|
float |
AngularPosition
Gets the angular position.
Declaration
float AngularPosition { get; }
Property Value
Type | Description |
---|---|
float |
CalculatedTransformA
Gets the calculated transformation in A.
Declaration
Matrix4x4 CalculatedTransformA { get; }
Property Value
Type | Description |
---|---|
Matrix4x4 |
CalculatedTransformB
Gets the calculated transform in B.
Declaration
Matrix4x4 CalculatedTransformB { get; }
Property Value
Type | Description |
---|---|
Matrix4x4 |
DampingDirAngular
Gets or sets the angular damping direction.
Declaration
float DampingDirAngular { get; set; }
Property Value
Type | Description |
---|---|
float |
DampingDirLinear
Gets or sets the linear damping direction.
Declaration
float DampingDirLinear { get; set; }
Property Value
Type | Description |
---|---|
float |
DampingLimAngular
Gets or sets the angular damping limit.
Declaration
float DampingLimAngular { get; set; }
Property Value
Type | Description |
---|---|
float |
DampingLimLinear
Gets or sets the linear damping limit.
Declaration
float DampingLimLinear { get; set; }
Property Value
Type | Description |
---|---|
float |
DampingOrthoAngular
Gets or sets the angular damping ortho.
Declaration
float DampingOrthoAngular { get; set; }
Property Value
Type | Description |
---|---|
float |
DampingOrthoLinear
Gets or sets the linear damping orthogonally.
Declaration
float DampingOrthoLinear { get; set; }
Property Value
Type | Description |
---|---|
float |
EnableAngularMotor
Gets or sets a value indicating whether the motor is enabled.
Declaration
bool EnableAngularMotor { get; set; }
Property Value
Type | Description |
---|---|
bool |
EnableFrameOffset
Gets or sets a value indicating whether this joint uses frame offsets.
Declaration
bool EnableFrameOffset { get; set; }
Property Value
Type | Description |
---|---|
bool |
EnableLinearMotor
Gets or sets a value indicating whether the motor is enabled.
Declaration
bool EnableLinearMotor { get; set; }
Property Value
Type | Description |
---|---|
bool |
FrameOffsetA
Gets the frame offset in A.
Declaration
Matrix4x4 FrameOffsetA { get; }
Property Value
Type | Description |
---|---|
Matrix4x4 |
FrameOffsetB
Gets the frame offset in B.
Declaration
Matrix4x4 FrameOffsetB { get; }
Property Value
Type | Description |
---|---|
Matrix4x4 |
LinearDepth
Gets the linear depth.
Declaration
float LinearDepth { get; }
Property Value
Type | Description |
---|---|
float |
LinearPosition
Gets the linear position.
Declaration
float LinearPosition { get; }
Property Value
Type | Description |
---|---|
float |
LowerAngularLimit
Gets or sets the lower angular limit.
Declaration
float LowerAngularLimit { get; set; }
Property Value
Type | Description |
---|---|
float |
LowerLinearLimit
Gets or sets the lower linear limit.
Declaration
float LowerLinearLimit { get; set; }
Property Value
Type | Description |
---|---|
float |
MaxAngularMotorForce
Gets or sets the maximum motor impulse.
Declaration
float MaxAngularMotorForce { get; set; }
Property Value
Type | Description |
---|---|
float |
MaxLinearMotorForce
Gets or sets the maximum motor impulse.
Declaration
float MaxLinearMotorForce { get; set; }
Property Value
Type | Description |
---|---|
float |
RestitutionDirAngular
Gets or sets the restitution direction angular.
Declaration
float RestitutionDirAngular { get; set; }
Property Value
Type | Description |
---|---|
float |
RestitutionDirLinear
Gets or sets the linear restitution direction.
Declaration
float RestitutionDirLinear { get; set; }
Property Value
Type | Description |
---|---|
float |
RestitutionLimAngular
Gets or sets the angular restitution limit.
Declaration
float RestitutionLimAngular { get; set; }
Property Value
Type | Description |
---|---|
float |
RestitutionLimLinear
Gets or sets the linear restitution limit.
Declaration
float RestitutionLimLinear { get; set; }
Property Value
Type | Description |
---|---|
float |
RestitutionOrthoAngular
Gets or sets the angular restitution ortho.
Declaration
float RestitutionOrthoAngular { get; set; }
Property Value
Type | Description |
---|---|
float |
RestitutionOrthoLinear
Gets or sets the linear restitution ortho.
Declaration
float RestitutionOrthoLinear { get; set; }
Property Value
Type | Description |
---|---|
float |
SoftnessDirAngular
Gets or sets the softness direction angle.
Declaration
float SoftnessDirAngular { get; set; }
Property Value
Type | Description |
---|---|
float |
SoftnessDirLinear
Gets or sets the linear softness direction.
Declaration
float SoftnessDirLinear { get; set; }
Property Value
Type | Description |
---|---|
float |
SoftnessLimAngular
Gets or sets the angular softness limit.
Declaration
float SoftnessLimAngular { get; set; }
Property Value
Type | Description |
---|---|
float |
SoftnessLimLinear
Gets or sets the linear softness limit.
Declaration
float SoftnessLimLinear { get; set; }
Property Value
Type | Description |
---|---|
float |
SoftnessOrthoAngular
Gets or sets the angular softness ortho.
Declaration
float SoftnessOrthoAngular { get; set; }
Property Value
Type | Description |
---|---|
float |
SoftnessOrthoLinear
Gets or sets the linear softness ortho.
Declaration
float SoftnessOrthoLinear { get; set; }
Property Value
Type | Description |
---|---|
float |
TargetAngularMotorVelocity
Gets or sets the maximum motor target velocity.
Declaration
float TargetAngularMotorVelocity { get; set; }
Property Value
Type | Description |
---|---|
float |
TargetLinearMotorVelocity
Gets or sets the maximum motor target velocity.
Declaration
float TargetLinearMotorVelocity { get; set; }
Property Value
Type | Description |
---|---|
float |
UpperAngularLimit
Gets or sets the upper angular limit.
Declaration
float UpperAngularLimit { get; set; }
Property Value
Type | Description |
---|---|
float |
UpperLinearLimit
Gets or sets the upper linear limit.
Declaration
float UpperLinearLimit { get; set; }
Property Value
Type | Description |
---|---|
float |
UseAngularLimit
Gets a value indicating whether to use the angular limit.
Declaration
bool UseAngularLimit { get; }
Property Value
Type | Description |
---|---|
bool |
UseLinearLimit
Gets a value indicating whether to use the angular limit.
Declaration
bool UseLinearLimit { get; }
Property Value
Type | Description |
---|---|
bool |
Methods
CalculateTransforms(Matrix4x4, Matrix4x4)
Calculate the transform.
Declaration
void CalculateTransforms(Matrix4x4 transA, Matrix4x4 transB)
Parameters
Type | Name | Description |
---|---|---|
Matrix4x4 | transA | Transform for A. |
Matrix4x4 | transB | Transform for B. |
SetFrames(Matrix4x4, Matrix4x4)
Sets the frames.
Declaration
void SetFrames(Matrix4x4 frameA, Matrix4x4 frameB)
Parameters
Type | Name | Description |
---|---|---|
Matrix4x4 | frameA | Frame A. |
Matrix4x4 | frameB | Frame B. |