Struct roblox::instance::Humanoid[][src]

pub struct Humanoid<'a> {
Show 62 fields pub auto_jump_enabled: bool, pub auto_rotate: bool, pub automatic_scaling_enabled: bool, pub break_joints_on_death: bool, pub camera_offset: Vector3, pub display_distance_type: HumanoidDisplayDistanceType, pub display_name: &'a str, pub floor_material: Material, pub health: f32, pub health_display_distance: f32, pub health_display_type: HumanoidHealthDisplayType, pub hip_height: f32, pub jump: bool, pub jump_height: f32, pub jump_power: f32, pub max_health: f32, pub max_slope_angle: f32, pub move_direction: Vector3, pub name_display_distance: f32, pub name_occlusion: NameOcclusion, pub platform_stand: bool, pub requires_neck: bool, pub rig_type: HumanoidRigType, pub root_part: Option<InstanceRef>, pub seat_part: Option<InstanceRef>, pub sit: bool, pub target_point: Vector3, pub use_jump_power: bool, pub walk_speed: f32, pub walk_to_part: Option<InstanceRef>, pub walk_to_point: Vector3, pub archivable: bool, pub class_name: &'a str, pub name: &'a str, pub parent: Option<InstanceRef>, pub roblox_locked: bool, pub source_asset_id: i64, pub climbing: RBXScriptSignal<f32>, pub cluster_composition_finished: RBXScriptSignal<()>, pub died: RBXScriptSignal<()>, pub falling_down: RBXScriptSignal<bool>, pub free_falling: RBXScriptSignal<bool>, pub getting_up: RBXScriptSignal<bool>, pub health_changed: RBXScriptSignal<f32>, pub jumping: RBXScriptSignal<bool>, pub move_to_finished: RBXScriptSignal<bool>, pub platform_standing: RBXScriptSignal<bool>, pub ragdoll: RBXScriptSignal<bool>, pub running: RBXScriptSignal<f32>, pub seated: RBXScriptSignal<(bool, Option<InstanceRef>)>, pub state_changed: RBXScriptSignal<(HumanoidStateType, HumanoidStateType)>, pub state_enabled_changed: RBXScriptSignal<(HumanoidStateType, bool)>, pub strafing: RBXScriptSignal<bool>, pub swimming: RBXScriptSignal<f32>, pub touched: RBXScriptSignal<(Option<InstanceRef>, Option<InstanceRef>)>, pub ancestry_changed: RBXScriptSignal<(Option<InstanceRef>, Option<InstanceRef>)>, pub attribute_changed: RBXScriptSignal<&'a str>, pub changed: RBXScriptSignal<&'a str>, pub child_added: RBXScriptSignal<Option<InstanceRef>>, pub child_removed: RBXScriptSignal<Option<InstanceRef>>, pub descendant_added: RBXScriptSignal<Option<InstanceRef>>, pub descendant_removing: RBXScriptSignal<Option<InstanceRef>>,
}
Expand description

The Humanoid Instance Class

View Roblox documentation

Fields

auto_jump_enabled: boolauto_rotate: boolautomatic_scaling_enabled: boolbreak_joints_on_death: boolcamera_offset: Vector3display_distance_type: HumanoidDisplayDistanceTypedisplay_name: &'a strfloor_material: Materialhealth: f32health_display_distance: f32health_display_type: HumanoidHealthDisplayTypehip_height: f32jump: booljump_height: f32jump_power: f32max_health: f32max_slope_angle: f32move_direction: Vector3name_display_distance: f32name_occlusion: NameOcclusionplatform_stand: boolrequires_neck: boolrig_type: HumanoidRigTyperoot_part: Option<InstanceRef>seat_part: Option<InstanceRef>sit: booltarget_point: Vector3use_jump_power: boolwalk_speed: f32walk_to_part: Option<InstanceRef>walk_to_point: Vector3archivable: bool

Inherited from Instance

class_name: &'a str

Inherited from Instance

name: &'a str

Inherited from Instance

parent: Option<InstanceRef>

Inherited from Instance

roblox_locked: bool

Inherited from Instance

source_asset_id: i64

Inherited from Instance

climbing: RBXScriptSignal<f32>cluster_composition_finished: RBXScriptSignal<()>died: RBXScriptSignal<()>falling_down: RBXScriptSignal<bool>free_falling: RBXScriptSignal<bool>getting_up: RBXScriptSignal<bool>health_changed: RBXScriptSignal<f32>jumping: RBXScriptSignal<bool>move_to_finished: RBXScriptSignal<bool>platform_standing: RBXScriptSignal<bool>ragdoll: RBXScriptSignal<bool>running: RBXScriptSignal<f32>seated: RBXScriptSignal<(bool, Option<InstanceRef>)>state_changed: RBXScriptSignal<(HumanoidStateType, HumanoidStateType)>state_enabled_changed: RBXScriptSignal<(HumanoidStateType, bool)>strafing: RBXScriptSignal<bool>swimming: RBXScriptSignal<f32>touched: RBXScriptSignal<(Option<InstanceRef>, Option<InstanceRef>)>ancestry_changed: RBXScriptSignal<(Option<InstanceRef>, Option<InstanceRef>)>

Inherited from Instance

attribute_changed: RBXScriptSignal<&'a str>

Inherited from Instance

changed: RBXScriptSignal<&'a str>

Inherited from Instance

child_added: RBXScriptSignal<Option<InstanceRef>>

Inherited from Instance

child_removed: RBXScriptSignal<Option<InstanceRef>>

Inherited from Instance

descendant_added: RBXScriptSignal<Option<InstanceRef>>

Inherited from Instance

descendant_removing: RBXScriptSignal<Option<InstanceRef>>

Inherited from Instance

Implementations

Creates a new Humanoid object.

Equivalent to Instance.new(“Humanoid”) in Luau.

Inherited from Instance

Inherited from Instance

Inherited from Instance

Inherited from Instance

Inherited from Instance

Inherited from Instance

Inherited from Instance

Inherited from Instance

Inherited from Instance

Inherited from Instance

Inherited from Instance

Inherited from Instance

Inherited from Instance

Inherited from Instance

Inherited from Instance

Inherited from Instance

Inherited from Instance

Inherited from Instance

Inherited from Instance

Inherited from Instance

Inherited from Instance

Inherited from Instance

Inherited from Instance

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.