Skip to main content

Class ScooterRiderAuthoring

Transient Editor inputs shared by the overlay and vehicle-specific setup paths.

[Serializable]
public sealed class ScooterRiderAuthoring

Inheritance​

Remarks​

This is not a component. Applied values live on the generated Animator, transforms and constraints; selecting a rider reconstructs these inputs from that saved configuration.

Fields​

aimTarget​

Shared head/chest look target outside the replaceable model.

public Transform aimTarget

Field Value​

Transform

animationController​

Standing or seated controller assigned to the replacement Humanoid Animator.

public RuntimeAnimatorController animationController

Field Value​

RuntimeAnimatorController

chestWeight​

Chest or fallback spine aim influence in [0, 1].

public float chestWeight

Field Value​

float

footRotationWeight​

Foot target rotation influence in [0, 1]; zero preserves animation-driven rotation.

public float footRotationWeight

Field Value​

float

handRotationWeight​

Calibrated wrist rotation influence in [0, 1]; arm IK still controls wrist position.

public float handRotationWeight

Field Value​

float

headWeight​

Head aim influence in [0, 1].

public float headWeight

Field Value​

float

leftFootTarget​

Left foot target outside the replaceable model.

public Transform leftFootTarget

Field Value​

Transform

leftHandTarget​

Left wrist position and grip-orientation source outside the replaceable model.

public Transform leftHandTarget

Field Value​

Transform

model​

Source character prefab or imported model asset; scene instances are not supported.

public GameObject model

Field Value​

GameObject

modelScale​

Positive local scale of the character, independent of vehicle scale.

public Vector3 modelScale

Field Value​

Vector3

positionOffset​

Character position relative to the rider container, in local units.

public Vector3 positionOffset

Field Value​

Vector3

rider​

Destination rider container in a scene or loaded Prefab Mode stage.

public GameObject rider

Field Value​

GameObject

rightFootTarget​

Right foot target outside the replaceable model.

public Transform rightFootTarget

Field Value​

Transform

rightHandTarget​

Right wrist position and grip-orientation source outside the replaceable model.

public Transform rightHandTarget

Field Value​

Transform

rotationOffset​

Character rotation relative to the rider container, in Euler degrees.

public Vector3 rotationOffset

Field Value​

Vector3

Properties​

InstalledModel​

Finds the single direct child containing the character's Animator hierarchy, or null.

public GameObject InstalledModel { get; }

Property Value​

GameObject

Exceptions​

InvalidOperationException — More than one character-containing child exists.

gameObject​

Destination container, exposed for scene and layer operations.

public GameObject gameObject { get; }

Property Value​

GameObject

transform​

Transform of the destination rider container.

public Transform transform { get; }

Property Value​

Transform

  • Remarks
  • Fields
    • aimTarget
    • animationController
    • chestWeight
    • footRotationWeight
    • handRotationWeight
    • headWeight
    • leftFootTarget
    • leftHandTarget
    • model
    • modelScale
    • positionOffset
    • rider
    • rightFootTarget
    • rightHandTarget
    • rotationOffset
  • Properties
    • InstalledModel
    • gameObject
    • transform