Class PhysicsCableControlPoint
Represents a point through which a PhysicsCable is routed when it is created.
Namespace: ABB.Robotics.RobotStudio.Stations
Assembly: ABB.Robotics.RobotStudio.Stations.dll
Syntax
sistent("PhysicsCableControlPoint")]
public class PhysicsCableControlPoint
Constructors
PhysicsCableControlPoint(Vector3)
Creates a control point at a point in space. The cable will initially be routed through this point but is after that free to move in any way.
Declaration
public PhysicsCableControlPoint(Vector3 position)
Parameters
Type | Name | Description |
---|---|---|
Vector3 | position |
PhysicsCableControlPoint(Vector3, Vector3, GraphicComponent)
Creates a control point that is attached to a Part. The cable will become locked to the part at the specified position with the specified direction.
Declaration
public PhysicsCableControlPoint(Vector3 position, Vector3 direction, GraphicComponent attachedTo)
Parameters
Type | Name | Description |
---|---|---|
Vector3 | position | |
Vector3 | direction | |
GraphicComponent | attachedTo |
Remarks
If the part is not already added to the physics simulation, it will be added as a kinematic object.
Properties
AttachedTo
Gets the GraphicComponent that the cable is attached to at the control point.
Declaration
public GraphicComponent AttachedTo { get; }
Property Value
Type | Description |
---|---|
GraphicComponent |
Direction
Gets or sets the direction of the cable at the control point, in global coordinates.
Declaration
public Vector3 Direction { get; set; }
Property Value
Type | Description |
---|---|
Vector3 |
Position
Gets or sets the position of the control point, in global coordinates.
Declaration
public Vector3 Position { get; set; }
Property Value
Type | Description |
---|---|
Vector3 |
Methods
ToString()
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
String |