ExistentVehicle
ExistentDocumentation > ExistentVehicle
ExistentVehicle
Class Details
Defined in: Public/Actors/ExistentVehicle.h
Hierarchy: Object > Actor > ExistentSpace > ExistentVehicle
Properties
bool | AligntoMesh | |
bool | ClampPath | Whether to clamp the Vehicle's driving path between the source and destination Spaces. When supplying a custom speed curve, it's possible to create a curve shape that forces the Vehicle to drive either past the destination Space or behind the source Space. By default we assume this is not desired behaviour and clamp the Vehicle, but if it is, you can disable this property to let the Vehicle drive freely according to the speed curve outside the bounds of the source and destination. |
bool | ConstantSpeed | |
AExistentSpace* | DestinationSpace | |
bool | DisplaySpeedSigns | If Vehicle's speed is given by a curve, enable this to render speed signs in the editor with speed and acceleration estimates rendered as text at regular intervals. NOTE: If your curve ever goes below zero (negative speed), the sign locations may be misleading, as they do not repeat if the same location is passed more than once. |
float | DrivingTimeSecs | Total time in seconds it will take to drive from the source to the destination Space. If speed values are provided by a curve (bConstantSpeed == false), this value will be calculated automatically. |
USplineComponent* | PathSpline | |
AExistentSpace* | SourceSpace | |
UCurveFloat* | SpeedCurve | Curve describing how the Vehicle's speed varies over the duration of the drive. NOTE: If the time domain of the curve is not [0, 1], it will be automatically normalised when assigned to this property. |
float | SpeedScale | Multiplier to apply to the speed values given by the speed curve. |
bool | UseSpline | If true, drive along the path specified by the Vehicle's SplineComponent. Otherwise, it will just lerp between the source and destination Spaces at a constant speed. |
bool | UseSplineRotation | If true, the Vehicle will rotate in real-time to face the direction the path spline is going while driving between Spaces. Otherwise, the Vehicle will rotate linearly at a constant rate (slerp) between the source and destination Spaces. If the two Spaces are not rotated relative to each other, setting this to false means the Vehicle will not rotate while driving. |
FName | VehicleMesh |
Nodes
Last updated