CharacterAsset
Description
The CharacterAsset
object represents an asset with the
Character asset type in the RoadRunner project. You can use the CharacterAsset
object to represent
Character
actors in the
scenario.
Creation
You can create a CharacterAsset
object in these ways:
The
getAsset
function extracts an object for the asset of the specified asset type at the specified path relative to theAsset
folder of the specified project. Specify theassetType
argument as"CharacterAsset"
to extract aCharacterAsset
object.The
createAsset
function creates an asset of the specified asset type at the specified path relative to theAsset
folder of the specified project. Specify theassetType
argument as"CharacterAsset"
to create aCharacterAsset
object. The extension you specify for the new asset must match the type specified for theassetType
argument.
Properties
Examples
Version History
Introduced in R2025a
See Also
addActor
| createAsset
| Character
| MovableObjectAsset
| VehicleAsset
Topics
- Actors in RoadRunner Scenario (RoadRunner Scenario)
- Path Editing (RoadRunner Scenario)