StarterPlayer
Inherits: GameSystem
StarterPlayer is a game system that defines default camera and character settings for playtesting.
Properties
The maximum camera zoom distance in studs.
The minimum camera zoom distance in studs.
The camera mode applied when playtesting starts.
The camera offset applied to the follow target, in studs.
The default jump height, in studs.
The maximum slope angle the character can walk up, in degrees.
Whether the character can roll while in the tripping state.
The default running speed, in studs per second.
Determines how the character can automatically enter the tripping state.
The default walking speed, in studs per second.
Whether the player's character appearance should be loaded when playtesting.
The tilt angle (in degrees) used for TiltBased tripping.
Properties
Whether this Instance or any of its descendants should be included when saving or copying via Clone()
The unique identifier for this Instance.
The name of this Instance.
The parent of this Instance in the hierarchy.
The sort index of this Instance among its siblings. If this Instance has no parent, this value is ignored.
Functions
Re-attaches an existing component ref (used by detach-undo to preserve identity).
Creates a deep clone of this Instance and all its descendants.
Removes this Instance, and all its descendants, from the DataModel, and locks its parent property.
Schedules this Instance to be destroyed after the specified delay in seconds. This function will error if called multiple times.
Detaches a specific component by reference. Use this to remove a broken component, which has no live file to identify it by.
Returns an array of the children of this Instance.
Returns the path of the script component at , or an empty string if the script file no longer exists.
Determines if this Instance is a descendant of the specified ancestor Instance.