FullBodyAvatarDrive
Represents a dynamic component specifically designed for the FullBodyAvatarDrive.
| Type | Name | Interface Description |
|---|---|---|
| Variables | followBody: boolean | • Function: Indicates whether the robot should follow the body's movements. |
| Functions | constructor() | |
| Functions | getBone(boneName: FullBodyBoneName): SceneObject | null | • Function: Retrieves the scene object associated with a specified bone name. Parameters • Returns The scene object associated with the specified bone, or null if not found. |
Examples
constructor()
let obj = new APJS.FullBodyAvatarDrive();
Use Case
@component()
export class NewBehaviourScript extends APJS.BasicScriptComponent {
onStart() {
// TODO: instantiate / use FullBodyAvatarDrive here
}
onUpdate(deltaTime: number) {
}
}