UDN
Search public documentation:
UsingSplineActors
日本語訳
中国翻译
한국어
Interested in the Unreal Engine?
Visit the Unreal Technology site.
Looking for jobs and company info?
Check out the Epic games site.
Questions about support via UDN?
Contact the UDN Staff
中国翻译
한국어
Interested in the Unreal Engine?
Visit the Unreal Technology site.
Looking for jobs and company info?
Check out the Epic games site.
Questions about support via UDN?
Contact the UDN Staff
Using Spline Actors
Overview

Editing
Connecting
The easiest way to create a connection is to ALT-drag an existing SplineActor. This is the usual editor shortcut for duplication, but with SplineActors, will insert the new one into the existing spline. In this way you can easily extend a spline by repeatedly ALT-dragging the point at the end to the new location. Another way to create a connection is to select two SplineActors and then pressing the period (.) key. This will connect the first selected to the second. If the two points are already connected by a spline, pressing the period key will reverse the direction of the spline, which makes it easy to fix. You can also select two points, right-click on one and choose Spline Options->Connect/Flip.Breaking
The easiest way to break a connection is to hold the ALT key and click at any point on the spline itself. This is the same shortcut as breaking a connection in Kismetc etc. You can also select two points, right click on one of them and choose Spline Options->Break. In addition, you can break all connections to a set of SplineActors by selecting them all, right-clicking on one of them, and choosing Spline Options->Break All Links.Adjusting Shape
When you select a SplineActor, you will see a white handle which controls the curvature at that point. The small squares on each end of the handle can be clicked and dragged with the mouse to modify the shape. You can also enter the desired tangent directly in the property window of the SplineActor. Note that SplineActor tangents are stored relative to the actor. This means that if you rotate the actor, the tangent will also be rotated. This allows to select a number of SplineActors and translate/rotate them to a different part of the map, and maintain the shape of the curve.Changing Direction
The spline has a specific direction, indicated by the arrow on the curve. If you wish the change the direction of the curve, you can select two connected points and press the period (.) key, as mentioned above. Note that the direction of the tangents at each end is still followed, so the shape of the spline will change. If you wish to change the direction of an entire spline containing many SplineActors, you can select them all, right click on one and choose Spline Options->Reverse All Directions. Note that this options tries to maintain the shape of the overall spline, and will flip the direction of the tangent of each selected SplineActor.Disabling Branches
