Instance Propertymigueldeicaza.swiftgodot 0.45.0SwiftGodot
useModelFront
If true
, the node moves on the travel path with orienting the +Z axis as forward. See also Vector3.FORWARD
and Vector3.MODEL_FRONT
.
final var useModelFront: Bool { get set }
Other members in extension
Types
Type members
static func correctPosture(transform: Transform3D, rotationMode: PathFollow3D.RotationMode
) -> Transform3D Correct the
transform
.rotationMode
implicitly specifies how posture (forward, up and sideway direction) is calculated.class var godotClassName: StringName
Instance members
var cubicInterp: Bool
If
true
, the position between two cached points is interpolated cubically, and linearly otherwise.var hOffset: Double
The node’s offset along the curve.
var loop: Bool
If
true
, any offset outside the path’s length will wrap around, instead of stopping at the ends. Use it for cyclic paths.var progress: Double
The distance from the first vertex, measured in 3D units along the path. Changing this value sets this node’s position to a point within the path.
var progressRatio: Double
The distance from the first vertex, considering 0.0 as the first vertex and 1.0 as the last. This is just another way of expressing the progress within the path, as the progress supplied is multiplied internally by the path’s length.
var rotationMode: PathFollow3D.RotationMode
Allows or forbids rotation on one or more axes, depending on the
RotationMode
constants being used.var tiltEnabled: Bool
If
true
, the tilt property ofCurve3D
takes effect.var vOffset: Double
The node’s offset perpendicular to the curve.