-
Notifications
You must be signed in to change notification settings - Fork 1
physics_process_manager_local
Inherits: base_update_manager
Inherited By: physics_process_manager_global
physics_process_manager_local is the update manager that uses the _physics_process(delta) method to update the update manager and all of the update objects. The prefix local means that this update manager can only be shared locally which is by dragging and droping the object containing the script physics_process_manager_local to other object's base_update_manager properties.
Type | Name | Default Value |
---|---|---|
int | _index_status | 0 |
Return Type | Name |
---|---|
void | _physics_process( float delta ) |
void | set_enabled( bool is_enable ) |
bool | is_enabled() |
int _index_status = 0
This property loops through all the update objects and calls their on_enable() or on_disable() methods. Read method set_enabled for more information.
void _physics_process ( float delta )
This method calls the main _update() method for updating the update manager and all the update objects. It multiplies the delta value with get_time_delta() and then sends that value to the _update() method. The new delta value will give accurate results for all the update objects.
void set_enabled ( bool is_enable )
This method enables/disables the update manager. When the update manager is enabled or disabled all the update objects are also enabled or disabled. The methods on_enable or on_disable are called when the update manager is enabled or disabled respectively
bool is_enabled ()
This method checks if the update manager is enabled or NOT. It uses Godot's method called is_physics_processing() to check if the update manager is processing or NOT.
- Tutorial Bar
- Tutorial Debug
- Tutorial Instantiate Object
- Tutorial Pool
- Tutorial Timer
- Tutorial Update Manager
- Tutorial Variable Creator
- Bars
- Debugs
- Maths
- Pools
- Resources
- Fixed Vars
- Managers
- Observers
- Vars
- Script Templates
- Timers
- Updates