Playerπ
Inherits: RigidBody3D
There is currently no description for this class. Please help us by contributing one !
Propertiesπ
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
Methodenπ
instantiate() static |
|
void |
req_loadout(idx: int = 0) |
void |
_ready() |
void |
|
void |
|
void |
_physics_process(_delta: float) |
void |
apply_inputs(sample: Variant, delta: float) |
void |
new_state(control_state: Dictionary) |
void |
replay_inputs(from: int, delta: float) |
void |
reconcile(prediction: Dictionary, control: Dictionary, delta: float) |
void |
|
void |
apply_state(control: Dictionary, do_rotate: bool = false) |
void |
_unhandled_input(event: InputEvent) |
void |
|
is_pawn() |
|
void |
_jump() |
is_alive() |
|
has_flag() |
|
void |
_on_killed(by_peer_id: int) |
void |
|
void |
_on_animation_player_animation_finished(animation_name: StringName) |
Signalsπ
killed(victim: Player, killer: int) π
There is currently no description for this signal. Please help us by contributing one!
damage(source: Node, target: Node, amount: int) π
Emitted when a source wants to damage this body
respawned(player: Player) π
Emitted when the player respawns, see respawn.
Constantsπ
scene = <Object> π
depends on hardcoded path but allows to instantiate players from anywhere in the code without the
Eigenschaftsbeschreibungenπ
There is currently no description for this property. Please help us by contributing one!
String username = "Newblood" π
There is currently no description for this property. Please help us by contributing one!
There is currently no description for this property. Please help us by contributing one!
InputSynchronizer input π
There is currently no description for this property. Please help us by contributing one!
int dominant_laterality = 1 π
Which side the player is holding equipped weapon (right-handed by default)
float ground_speed = 8.88888888888889 π
The ground speed of the player
int aerial_control_acceleration = 4 π
The aerial acceleration is an horizontal acceleration component which a body can use to slightly adjust their trajectory while not InputSynchronizer.jetting but airborne
float max_floor_angle = 60.0 π
There is currently no description for this property. Please help us by contributing one!
There is currently no description for this property. Please help us by contributing one!
SpringArm3D spring_arm = <unknown> π
There is currently no description for this property. Please help us by contributing one!
RemoteTransform3D tp_head_remote_transform = <unknown> π
There is currently no description for this property. Please help us by contributing one!
The is player IFF (Indicator Friend or Foe) component.
This is the player Health component.
This is the player Energy component.
FlagHolder flag_holder π
This is the player FlagHolder component.
This is the player Inventory component.
This is the player HUD component.
This is the player Jetpack component.
This is the visual representation of the Player
ShapeCast3D ground_sensor π
There is currently no description for this property. Please help us by contributing one!
There is currently no description for this property. Please help us by contributing one!
There is currently no description for this property. Please help us by contributing one!
CollisionShape3D collider = <unknown> π
There is currently no description for this property. Please help us by contributing one!
float gravity = <unknown> π
There is currently no description for this property. Please help us by contributing one!
There is currently no description for this property. Please help us by contributing one!
The Queue to store local prediction states
The Queue to store authoritative control states
There is currently no description for this property. Please help us by contributing one!
There is currently no description for this property. Please help us by contributing one!
Methodenbeschreibungenπ
Player instantiate() static π
There is currently no description for this method. Please help us by contributing one!
void req_loadout(idx: int = 0) π
There is currently no description for this method. Please help us by contributing one!
void _ready() π
There is currently no description for this method. Please help us by contributing one!
void _process(_delta: float) π
There is currently no description for this method. Please help us by contributing one!
void _input_rotations() π
There is currently no description for this method. Please help us by contributing one!
void _physics_process(_delta: float) π
There is currently no description for this method. Please help us by contributing one!
void apply_inputs(sample: Variant, delta: float) π
There is currently no description for this method. Please help us by contributing one!
void new_state(control_state: Dictionary) π
This rpc can be called remotly by the authority to send specified control_state unreliably, which simply adds it to control_states
void replay_inputs(from: int, delta: float) π
There is currently no description for this method. Please help us by contributing one!
void reconcile(prediction: Dictionary, control: Dictionary, delta: float) π
There is currently no description for this method. Please help us by contributing one!
Dictionary get_state(id: int) π
There is currently no description for this method. Please help us by contributing one!
void _integrate_forces(state: PhysicsDirectBodyState3D) π
There is currently no description for this method. Please help us by contributing one!
void apply_state(control: Dictionary, do_rotate: bool = false) π
There is currently no description for this method. Please help us by contributing one!
void _unhandled_input(event: InputEvent) π
There is currently no description for this method. Please help us by contributing one!
void _animate_third_person() π
There is currently no description for this method. Please help us by contributing one!
This method returns wether the local system multiplayer peer has input authority over this node
void _jump() π
There is currently no description for this method. Please help us by contributing one!
There is currently no description for this method. Please help us by contributing one!
There is currently no description for this method. Please help us by contributing one!
Whether the player FlagHolder holds a flag or not
void _on_killed(by_peer_id: int) π
There is currently no description for this method. Please help us by contributing one!
void respawn(location: Vector3) π
There is currently no description for this method. Please help us by contributing one!
void _on_animation_player_animation_finished(animation_name: StringName) π
There is currently no description for this method. Please help us by contributing one!