Curve implements curved path segments for smooth material flow transitions in automated transport systems. More...

Public Member Functions | |
override float | GetLength () |
override Vector3 | GetDirection (float normalizedposition) |
override Vector3 | GetPosition (float normalizedposition, ref BasePath currentpath) |
Vector3 | RotatePointAroundPivot (Vector3 point, Vector3 pivot, Vector3 angle) |
Vector3 | GetPathAnglePos (float angle) |
override void | DrawPath () |
float | AngleSigned (Vector3 v1, Vector3 v2, Vector3 n) |
override void | AttachTo (SimulationPath path) |
void | Reset () |
void | setStart () |
void | Rotate () |
void | AttachLine () |
void | AttachCurve () |
![]() | |
void | OnMyStartSnapped (SimulationPath path) |
void | OnMyStartUnsnapped (SimulationPath path) |
void | OnMyEndSnapped (SimulationPath path) |
void | OnMyEndUnsnapped (SimulationPath path) |
void | TransportableEntered (PathMover trans) |
void | TransportableOnEnd (PathMover trans) |
void | TransportableExit (PathMover trans) |
void | CheckSnapping () |
void | ClearConnections () |
void | AttachPathLine (string path, GameObject attachto) |
void | AttachPathCurve (string path, GameObject attachto) |
void | CheckSnap () |
void | Connect (SnapPoint ownSnapPoint, SnapPoint snapPointMate, ISnapable mateObject, bool ismoved) |
void | Disconnect (SnapPoint snapPoint, SnapPoint snapPointMate, ISnapable Mateobj, bool ismoved) |
void | Modify () |
void | AttachTo (SnapPoint attachto) |
![]() | |
float | GetLength () |
Gets the length of the path. | |
Vector3 | GetPosition (float normalizedposition, ref BasePath currentpath) |
Gets the position in World coordinates of the path at the defined normalized position. | |
Vector3 | GetDirection (float normalizedposition) |
Gets the tangent of the pat at the defined normalized position. | |
Vector3 | GetLocalDirection (float normalizedposition) |
Gets the direction tangent in local coordinate system. | |
Vector3 | GetAbsPosition (float abspositon, ref BasePath currentpath) |
Gets the position in global coordinate system at absolute position (in meters) at the path. | |
Vector3 | GetAbsDirection (float abspositon) |
Gets the direction tangent in global coordinate system at absolute position (in meters) at the path. | |
![]() | |
void | PreStartSim () |
Is called by the realvirtualController before the component is started. | |
void | StartSim () |
Is called by the realvirtualController to start or stop the component. | |
void | StopSim () |
Vector3 | DirectionToVector (DIRECTION direction) |
Transfers the direction enumeration to a vector. | |
DIRECTION | VectorToDirection (bool torotatoin, Vector3 vector) |
Transfers a vector to the direction enumeration. | |
float | GetLocalScale (Transform thetransform, DIRECTION direction) |
List< BehaviorInterfaceConnection > | UpdateConnectionInfo () |
List< Signal > | GetConnectedSignals () |
void | SetVisibility (bool visibility) |
Sets the visibility of this object including all subobjects. | |
List< BehaviorInterfaceConnection > | GetConnections () |
List< Signal > | GetSignals () |
GameObject | GetChildByName (string name) |
Gets a child by name. | |
List< GameObject > | GetChildsByName (string name) |
Gets all child by name. | |
GameObject | GetChildByNameAlsoHidden (string name) |
List< GameObject > | GetAllMeshesWithGroup (string group) |
List< GameObject > | GetAllWithGroup (string group) |
List< GameObject > | GetAllWithGroups (List< string > groups) |
List< GameObject > | GetAllMeshesWithGroups (List< string > groups) |
List< string > | GetMyGroups () |
List< GameObject > | GetMeshesWithSameGroups () |
List< GameObject > | GetAllWithSameGroups () |
MeshRenderer | GetMeshRenderer () |
Gets the mesh renderers in the childrens. | |
void | SetCollider (bool enabled) |
sets the collider in all child objects | |
void | ErrorMessage (string message) |
Displays an error message. | |
void | ChangeConnectionMode (bool isconnected) |
void | Log (string message) |
Logs a message. | |
void | Log (string message, object obj) |
Logs a message with a relation to an object. | |
void | Warning (string message, object obj) |
Logs a warinng with a relation to an object. | |
void | Error (string message, object obj) |
Logs an error with a relation to an object. | |
void | Error (string message) |
Logs an error. | |
GameObject | DebugPosition (string debugname, Vector3 position, Quaternion quaternation, float scale) |
Displays a gizmo for debugging positions. | |
void | SetFreezePosition (bool enabled) |
Freezes all child components to the current poosition. | |
void | SetRbConstraints (RigidbodyConstraints constraints) |
virtual void | AwakeAlsoDeactivated () |
Public Attributes | |
bool | Clockwise |
float | Radius |
Radius of the curve. | |
float | StartAngle |
Start angle of the curve. | |
float | Degrees |
Angle covered by the curve. | |
bool | DirectionArrow |
Boolean which activate/ deactivate the direction arrow in the middle of the line. | |
GameObject | CenterDebug |
GameObject | PosDebug |
GameObject | TanDebug |
![]() | |
Drive | Drive |
drive used on the simulation path | |
bool | DriveNotNull |
PathStrategy | PathStrategy |
Path strategy which defines the behavior at certain path events. | |
List< SimulationPath > | Predecessors |
List of predecessors, is filled automatically. | |
List< SimulationPath > | Successors |
List of successors, is filled automatically. | |
SimulationPathEvent | OnPathEntered |
List with methods called when a path mover enter the path. | |
SimulationPathEvent | OnPathEnd |
List with methods called when a path mover reach the end of a path. | |
SimulationPathEvent | OnPathExit |
List with methods called when a path mover exit the path. | |
float | Length |
Length of the path. | |
bool | ShowPathOnSimulation |
Boolean specifying whether the path is visible during runtime or not. | |
float | Thickness |
Thickness of the simulation path. | |
Material | MaterialPath |
Material of the simulation path. | |
float | SizeDirectionArrow |
Size of the direction arrow in the center of the path. | |
GameObject | StartPoint |
GameObject | EndPoint |
bool | EnableSnap |
bool | movedlocally |
bool | transformposchanged |
![]() | |
string | Name |
The name of the component if it should be different from the GameObject name. | |
ActiveOnly | Active |
GameObject | FromTemplate |
realvirtualController | realvirtualController |
bool | HideNonG44Components |
bool | SceneIsAdditive |
bool | ForceStop |
Additional Inherited Members | |
![]() | |
enum | ActiveOnly { Always , Connected , Disconnected , Never , DontChange } |
![]() | |
static bool | DirectionIsLinear (DIRECTION direction) |
Gets back if the direction is linear or a rotation. | |
![]() | |
virtual void | LengthChanged () |
void | SetStartTo0 () |
void | DrawArrows () |
void | BaseReset () |
![]() | |
bool | hidename () |
bool | hideactiveonly () |
virtual void | OnStopSim () |
virtual void | OnPreStartSim () |
virtual void | OnStartSim () |
MU | GetTopOfMu (GameObject obj) |
Gets the top of an MU component (the first MU script going up in the hierarchy) | |
void | InitGame4Automation () |
Initialiates the components and gets the reference to the realvirtualController in the scene. | |
virtual void | AfterAwake () |
void | Awake () |
![]() | |
LineRenderer | Linerenderer |
bool | blockdraw |
Arrow | _startarrow |
Arrow | _endarrow |
![]() | |
Vector3 | LocalStartPos [get, set] |
Vector3 | LocalEndPos [get, set] |
Vector3 | StartPos [get, set] |
Vector3 | EndPos [get, set] |
OnSnappedEvent | OnSnapped [get, set] |
![]() |
Detailed Description
Curve implements curved path segments for smooth material flow transitions in automated transport systems.
This component creates arc-shaped path sections with configurable radius and angle, enabling realistic cornering behavior for AGVs, conveyor transfers, and material handling equipment. Supports both clockwise and counter-clockwise curves with precise angular control, automatic endpoint snapping for seamless network integration, and smooth interpolation for natural movement patterns. Critical for designing efficient factory layouts with space-optimized routing, turntables, and curved conveyor sections in modern intralogistics and flexible manufacturing systems.
Member Function Documentation
◆ AttachTo()
|
virtual |
Reimplemented from realvirtual.SimulationPath.
◆ DrawPath()
|
virtual |
Reimplemented from realvirtual.SimulationPath.
Member Data Documentation
◆ Degrees
float realvirtual.Curve.Degrees |
Angle covered by the curve.
◆ DirectionArrow
bool realvirtual.Curve.DirectionArrow |
Boolean which activate/ deactivate the direction arrow in the middle of the line.
◆ Radius
float realvirtual.Curve.Radius |
Radius of the curve.
◆ StartAngle
float realvirtual.Curve.StartAngle |
Start angle of the curve.