Overview
VisualMoveSegment stores one visual movement step. MovementMotor creates these segments, and UnitViewMotor consumes them to move the visible model smoothly.
Inspector Settings
VisualMoveSegment is a serializable struct and does not have Inspector settings by itself.
Public API
VisualMoveSegment(Vector3 fromWorld, Vector3 toWorld, float duration)Creates a movement segment from one world position to another over a duration.
Runtime Properties
| FromWorld | World-space start position. |
|---|---|
| ToWorld | World-space end position. |
| Duration | Time in seconds used by the visual playback. |
Common Usage
Most users will not create VisualMoveSegment manually. MovementMotor handles this internally.