
Godot Addon API Docs
PlayerControls — API
Properties
-
TrackingArea3D[] _INTERSECTING_TRACKING_AREAS = []
-
FollowingCamera CAMERA
-
DeviceProxy DEVICE_PROXY
-
bool _THIRD_PERSON_MODE = false
-
bool _FIRST_PERSON_MODE = false
-
HoldZone _HOLD_ZONE
-
float turn_speed = 0.075
-
float mouse_axis_ratio = 0.075
Methods
-
void _ready()
-
void apply_hold_zone(float distance, Vector3 zone_size, String zone_scene)
-
void _held_item_changed()
-
void _holdable_items_available_change()
-
void set_device_proxy(DeviceProxy device_proxy)
-
void set_player_controls_config(Dictionary config)
-
void setup_camera()
-
ActuatorInfo get_input_action_value(StringName action_name)
-
void steer(float amount, PhysicsDirectBodyState3D state)
-
void pitch_camera(float amount)
-
void turn_mesh(Vector2 input)
-
float _get_turn_value(ActuatorInfo info)
-
void _integrate_forces(PhysicsDirectBodyState3D state)
-
void _physics_process(float delta)
-
void on_trigger_entered(TrackingArea3D trigger, Callable on_triggered)
-
void on_use()
-
void add_tracking_area(TrackingArea3D tracking_area)
-
void remove_tracking_area(TrackingArea3D tracking_area)