SplineArchitectCustomPiece¶
1. What is SplineArchitectCustomPiece
?¶
SplineArchitectCustomPiece
is an actor that attaches to a SplineArchitectWall
actor and allows you to insert any mesh between walls.
2. How to create a SplineArchitectCustomPiece
?¶
There are two ways to create a SplineArchitectCustomPiece
actor:
- The first way is to find it in the actor creation menu and drag it into the level. Then you need to attach it to a
SplineArchitectWall
actor, and it will snap to its parentSplineArchitectWall
actor.
- The second way is to simply press the "Add Custom Piece" button in the Spline Architect utility widget. This button does the same as the instruction above. The new
SplineArchitectCustomPiece
will spawn at the viewport center in the level and attach to the selectedSplineArchitectWall
actor.
3. SplineArchitectCustomPiece
parameters¶
- Lock Position Locks the Custom Piece so its position remains fixed, even if the
SplineArchitectWall
is moved or changed. Useful when, for example, doors should always stay in the same spot in the level. - Unlock Position Unlocks the Custom Piece position so it moves along with its
SplineArchitectWall
parent again. - Custom Piece Type The Custom Piece can be either Segment or Corner type. Segment type Custom Pieces are inserted into the wall, like doors or windows. Corner type Custom Pieces can modify specific corner parameters, for example, to make a wall corner rounded.
- Custom Piece Mesh The mesh used as the Custom Piece.
- Input Key on Spline Indicates the position on the spline where the Custom Piece will be inserted. If the Custom Piece is moved manually, this parameter is found based on its position. You can also specify an exact spline key if you want to insert the Custom Piece perfectly centered between two spline points.
- Num Meshes How many times the Custom Piece will be repeated. Useful if you want to repeat the Custom Piece multiple times within a segment. You can enter a very high number to fill the entire segment.
- Override Length If
true
, allows manual adjustment of the Custom Piece length; iffalse
, the length is calculated automatically based on the Custom Piece mesh (length along the X axis). - Custom Piece Length The length of the Custom Piece, either automatic or manual depending on the Override Length parameter.
- Add to Scale A vector added to the Custom Piece’s scale. Useful for manually increasing or decreasing the Custom Piece size.
- Insert Type The way the Custom Piece is inserted. Can be
Insert
orOverlap
. WhenInsert
, the segment is cut out and replaced with the Custom Piece; whenOverlap
, the Custom Piece is simply placed over the existing segment. - Child Actor Class The class used as a Child Actor. Useful if you want to add extra functionality to the Custom Piece, e.g., dynamically opening doors.
- Location Locked Indicates whether the Custom Piece position is locked or not.
- Locked Location The position used when Location Locked is
true
. When using Lock Position, this is set to the current Custom Piece position. Can be manually modified if needed.