Generated wrapper for Godot's PhysicalBone2D, extends RigidBody2D.
Attributes
- Companion
- object
- Graph
-
- Supertypes
-
class RigidBody2Dclass PhysicsBody2Dclass CollisionObject2Dclass Node2Dclass CanvasItemclass Nodeclass Objectclass GodotScriptClassclass Objecttrait Matchableclass AnyShow all
Members list
Value members
Concrete methods
PhysicalBone2D.get_auto_configure_joint
PhysicalBone2D.get_auto_configure_joint
Attributes
PhysicalBone2D.get_bone2d_index
PhysicalBone2D.get_bone2d_index
Attributes
PhysicalBone2D.get_follow_bone_when_simulating
PhysicalBone2D.get_follow_bone_when_simulating
Attributes
PhysicalBone2D.get_simulate_physics
PhysicalBone2D.get_simulate_physics
Attributes
The Godot class name for this instance. Engine wrappers override with the baked literal; user classes fall back to their Scala simple name (which is how registration names them).
The Godot class name for this instance. Engine wrappers override with the baked literal; user classes fall back to their Scala simple name (which is how registration names them).
Attributes
- Definition Classes
-
RigidBody2D -> PhysicsBody2D -> CollisionObject2D -> Node2D -> CanvasItem -> Node -> Object -> GodotScriptClass
PhysicalBone2D.is_simulating_physics
PhysicalBone2D.is_simulating_physics
Attributes
PhysicalBone2D.set_auto_configure_joint
PhysicalBone2D.set_auto_configure_joint
Attributes
PhysicalBone2D.set_bone2d_index
PhysicalBone2D.set_bone2d_index
Attributes
PhysicalBone2D.set_follow_bone_when_simulating
PhysicalBone2D.set_follow_bone_when_simulating
Attributes
PhysicalBone2D.set_simulate_physics
PhysicalBone2D.set_simulate_physics
Attributes
Inherited methods
EditorInspectorPlugin: can this plugin handle obj's inspector?
EditorInspectorPlugin: can this plugin handle obj's inspector?
Attributes
- Inherited from:
- GodotScriptClass
EditorPlugin/Node: entered the (editor) tree.
EditorPlugin/Node: leaving the (editor) tree.
Called for every unhandled-or-not input event (Node._input).
Called for every unhandled-or-not input event (Node._input).
Attributes
- Inherited from:
- GodotScriptClass
EditorInspectorPlugin: inspect one property. Return true to take it over (after calling addPropertyEditor), false to let the default editor render.
EditorInspectorPlugin: inspect one property. Return true to take it over (after calling addPropertyEditor), false to let the default editor render.
Attributes
- Inherited from:
- GodotScriptClass
Called every physics frame; delta is the fixed physics step.
Called every physics frame; delta is the fixed physics step.
Attributes
- Inherited from:
- GodotScriptClass
Called every rendered frame; delta is seconds since the last frame.
Called every rendered frame; delta is seconds since the last frame.
Attributes
- Inherited from:
- GodotScriptClass
Called when the node enters the scene tree and is ready.
Called when the node enters the scene tree and is ready.
Attributes
- Inherited from:
- GodotScriptClass
Called for shortcut input before _unhandled_input (Node._shortcut_input).
Called for shortcut input before _unhandled_input (Node._shortcut_input).
Attributes
- Inherited from:
- GodotScriptClass
Called for input not consumed by the UI (Node._unhandled_input).
Called for input not consumed by the UI (Node._unhandled_input).
Attributes
- Inherited from:
- GodotScriptClass
Called for unhandled key input (Node._unhandled_key_input).
Called for unhandled key input (Node._unhandled_key_input).
Attributes
- Inherited from:
- GodotScriptClass
EditorProperty: refresh the widget from the edited property's value.
EditorProperty: refresh the widget from the edited property's value.
Attributes
- Inherited from:
- GodotScriptClass
Node.add_child
PhysicsBody2D.add_collision_exception_with
RigidBody2D.add_constant_central_force
RigidBody2D.add_constant_force
RigidBody2D.add_constant_torque
Node.add_sibling
Node.add_to_group
RigidBody2D.apply_central_force
RigidBody2D.apply_central_impulse
RigidBody2D.apply_force
RigidBody2D.apply_impulse
Node2D.apply_scale
RigidBody2D.apply_torque
RigidBody2D.apply_torque_impulse
Node.atr
Node.atr_n
Node.can_auto_translate
Node.can_process
Object.can_translate_messages
Object.cancel_free
Cast to a (super- or sub-) class U. Returns null if the object is not actually a U. Uses object_cast_to with U's class tag — a real engine type check, not a Scala cast.
Cast to a (super- or sub-) class U. Returns null if the object is not actually a U. Uses object_cast_to with U's class tag — a real engine type check, not a Scala cast.
Attributes
- Inherited from:
- GodotScriptClass
CollisionObject2D.create_shape_owner
Node.create_tween. Returns an owned reference: release it with unref() or inside Gd.scoped.
Node.create_tween. Returns an owned reference: release it with unref() or inside Gd.scoped.
Attributes
- Inherited from:
- Node
CanvasItem.draw_animation_slice
CanvasItem.draw_char
CanvasItem.draw_circle
CanvasItem.draw_end_animation
CanvasItem.draw_lcd_texture_rect_region
CanvasItem.draw_line
CanvasItem.draw_mesh
CanvasItem.draw_multimesh
CanvasItem.draw_rect
CanvasItem.draw_set_transform
CanvasItem.draw_set_transform_matrix
CanvasItem.draw_style_box
CanvasItem.draw_texture
CanvasItem.draw_texture_rect
CanvasItem.draw_texture_rect_region
Node.duplicate
Node.find_child
Node.find_parent
CanvasItem.force_update_transform
Free a manually-managed object via object_destroy. No-op for reference-counted objects — use unref for those. The wrapper is dead afterwards: calling an engine method on it throws.
Free a manually-managed object via object_destroy. No-op for reference-counted objects — use unref for those. The wrapper is dead afterwards: calling an engine method on it throws.
Attributes
- Inherited from:
- GodotScriptClass
Node2D.get_angle_to
RigidBody2D.get_angular_damp
RigidBody2D.get_angular_damp_mode
RigidBody2D.get_angular_velocity
Node.get_auto_translate_mode
CanvasItem.get_canvas_layer_node
CanvasItem.get_canvas_transform
RigidBody2D.get_center_of_mass
RigidBody2D.get_center_of_mass_mode
Node.get_child
Node.get_child_count
CanvasItem.get_clip_children_mode
CollisionObject2D.get_collision_layer
CollisionObject2D.get_collision_layer_value
CollisionObject2D.get_collision_mask
CollisionObject2D.get_collision_mask_value
CollisionObject2D.get_collision_priority
RigidBody2D.get_constant_force
RigidBody2D.get_constant_torque
RigidBody2D.get_contact_count
RigidBody2D.get_continuous_collision_detection_mode
CollisionObject2D.get_disable_mode
Node.get_editor_description
RigidBody2D.get_freeze_mode
CanvasItem.get_global_mouse_position
Node2D.get_global_position
Node2D.get_global_rotation
Node2D.get_global_rotation_degrees
Node2D.get_global_scale
Node2D.get_global_skew
CanvasItem.get_global_transform
CanvasItem.get_global_transform_with_canvas
PhysicsBody2D.get_gravity
RigidBody2D.get_gravity_scale
Node.get_index
RigidBody2D.get_inertia
Object.get_instance_id
Node.get_last_exclusive_window
CanvasItem.get_light_mask
RigidBody2D.get_linear_damp
RigidBody2D.get_linear_damp_mode
RigidBody2D.get_linear_velocity
CanvasItem.get_local_mouse_position
RigidBody2D.get_mass
CanvasItem.get_material. Returns an owned reference: release it with unref() or inside Gd.scoped.
CanvasItem.get_material. Returns an owned reference: release it with unref() or inside Gd.scoped.
Attributes
- Inherited from:
- CanvasItem
RigidBody2D.get_max_contacts_reported
Object.get_method_argument_count
CanvasItem.get_modulate
Node.get_multiplayer. Returns an owned reference: release it with unref() or inside Gd.scoped.
Node.get_multiplayer. Returns an owned reference: release it with unref() or inside Gd.scoped.
Attributes
- Inherited from:
- Node
Node.get_multiplayer_authority
Node.get_name
Node.get_physics_interpolation_mode
RigidBody2D.get_physics_material_override. Returns an owned reference: release it with unref() or inside Gd.scoped.
RigidBody2D.get_physics_material_override. Returns an owned reference: release it with unref() or inside Gd.scoped.
Attributes
- Inherited from:
- RigidBody2D
Node.get_physics_process_delta_time
Node.get_physics_process_priority
Node2D.get_position
Node.get_process_delta_time
Node.get_process_mode
Node.get_process_priority
Node.get_process_thread_group
Node.get_process_thread_group_order
Node.get_process_thread_messages
Node2D.get_relative_transform_to_parent
Node2D.get_rotation
Node2D.get_rotation_degrees
Node.get_scene_file_path
Node.get_scene_instance_load_placeholder
CanvasItem.get_screen_transform
CanvasItem.get_self_modulate
CollisionObject2D.get_shape_owner_one_way_collision_margin
CollisionObject2D.get_shape_owner_one_way_collision_margin
Attributes
- Inherited from:
- CollisionObject2D
CanvasItem.get_texture_filter
CanvasItem.get_texture_repeat
CanvasItem.get_transform
Object.get_translation_domain
Node.get_tree_string
Node.get_tree_string_pretty
CanvasItem.get_use_parent_material
Node.get_viewport
CanvasItem.get_viewport_rect
CanvasItem.get_viewport_transform
CanvasItem.get_visibility_layer
CanvasItem.get_visibility_layer_bit
CanvasItem.get_world_2d. Returns an owned reference: release it with unref() or inside Gd.scoped.
CanvasItem.get_world_2d. Returns an owned reference: release it with unref() or inside Gd.scoped.
Attributes
- Inherited from:
- CanvasItem
CanvasItem.get_z_index
Node2D.global_translate
Object.has_connections
Object.has_meta
Object.has_method
Object.has_signal
Object.has_user_signal
CanvasItem.hide
The engine-side object handle for this instance.
This object's stable Godot InstanceId (the null sentinel if unbound). Mirrors Object.get_instance_id, but typed — pass it to APIs that key off a node's identity.
This object's stable Godot InstanceId (the null sentinel if unbound). Mirrors Object.get_instance_id, but typed — pass it to APIs that key off a node's identity.
Attributes
- Inherited from:
- GodotScriptClass
RigidBody2D.is_able_to_sleep
Node.is_ancestor_of
Object.is_blocking_signals
Object.is_class
RigidBody2D.is_contact_monitor_enabled
Node.is_displayed_folded
CanvasItem.is_draw_behind_parent_enabled
Node.is_editable_instance
RigidBody2D.is_freeze_enabled
Node.is_greater_than
Node.is_in_group
Node.is_inside_tree
CanvasItem.is_local_transform_notification_enabled
RigidBody2D.is_lock_rotation_enabled
Node.is_multiplayer_authority
Node.is_node_ready
Node.is_part_of_edited_scene
Node.is_physics_interpolated
Node.is_physics_interpolated_and_enabled
Node.is_physics_processing
Node.is_physics_processing_internal
CollisionObject2D.is_pickable
Node.is_processing
Node.is_processing_input
Node.is_processing_internal
Node.is_processing_shortcut_input
Node.is_processing_unhandled_input
Node.is_processing_unhandled_key_input
Object.is_queued_for_deletion
True if this object is reference-counted (RefCounted subtree, e.g. a Resource) vs manually-managed (Object/Node subtree). Drives the lifetime methods below.
True if this object is reference-counted (RefCounted subtree, e.g. a Resource) vs manually-managed (Object/Node subtree). Drives the lifetime methods below.
Attributes
- Inherited from:
- GodotScriptClass
CanvasItem.is_set_as_top_level
CollisionObject2D.is_shape_owner_disabled
CollisionObject2D.is_shape_owner_one_way_collision_enabled
CollisionObject2D.is_shape_owner_one_way_collision_enabled
Attributes
- Inherited from:
- CollisionObject2D
RigidBody2D.is_sleeping
CanvasItem.is_transform_notification_enabled
Node.is_unique_name_in_owner
RigidBody2D.is_using_custom_integrator
CanvasItem.is_visible
CanvasItem.is_visible_in_tree
CanvasItem.is_y_sort_enabled
CanvasItem.is_z_relative
Keep a reference adopted inside Gd.scoped past the end of the block: the caller now owns it and releases it with unref. Returns this.
Keep a reference adopted inside Gd.scoped past the end of the block: the caller now owns it and releases it with unref. Returns this.
Attributes
- Inherited from:
- GodotScriptClass
Node2D.look_at
CanvasItem.make_canvas_position_local
CanvasItem.make_input_local. Returns an owned reference: release it with unref() or inside Gd.scoped.
CanvasItem.make_input_local. Returns an owned reference: release it with unref() or inside Gd.scoped.
Attributes
- Inherited from:
- CanvasItem
PhysicsBody2D.move_and_collide. Returns an owned reference: release it with unref() or inside Gd.scoped.
PhysicsBody2D.move_and_collide. Returns an owned reference: release it with unref() or inside Gd.scoped.
Attributes
- Inherited from:
- PhysicsBody2D
Node.move_child
Node2D.move_local_x
Node2D.move_local_y
CanvasItem.move_to_front
Object.notification
Node.notify_deferred_thread_group
Object.notify_property_list_changed
Node.notify_thread_safe
Node.print_tree_pretty
Node.propagate_notification
Object.property_can_revert
Node.queue_accessibility_update
CanvasItem.queue_redraw
Take one more reference on a reference-counted object, owned by this wrapper until a matching unref. No-op for manually-managed objects (nodes). Returns this. (Named refInc rather than reference to avoid clashing with the generated RefCounted.reference(): Boolean method.)
Take one more reference on a reference-counted object, owned by this wrapper until a matching unref. No-op for manually-managed objects (nodes). Returns this. (Named refInc rather than reference to avoid clashing with the generated RefCounted.reference(): Boolean method.)
Attributes
- Inherited from:
- GodotScriptClass
Node.remove_child
PhysicsBody2D.remove_collision_exception_with
Node.remove_from_group
Object.remove_meta
CollisionObject2D.remove_shape_owner
Object.remove_user_signal
Node.reparent
Node.replace_by
Node.request_ready
Node.reset_physics_interpolation
Node2D.rotate
RigidBody2D.set_angular_damp
RigidBody2D.set_angular_damp_mode
RigidBody2D.set_angular_velocity
CanvasItem.set_as_top_level
Node.set_auto_translate_mode
RigidBody2D.set_axis_velocity
Object.set_block_signals
RigidBody2D.set_can_sleep
RigidBody2D.set_center_of_mass
RigidBody2D.set_center_of_mass_mode
CanvasItem.set_clip_children_mode
CollisionObject2D.set_collision_layer
CollisionObject2D.set_collision_layer_value
CollisionObject2D.set_collision_mask
CollisionObject2D.set_collision_mask_value
CollisionObject2D.set_collision_priority
RigidBody2D.set_constant_force
RigidBody2D.set_constant_torque
RigidBody2D.set_contact_monitor
RigidBody2D.set_continuous_collision_detection_mode
CollisionObject2D.set_disable_mode
Node.set_display_folded
CanvasItem.set_draw_behind_parent
Node.set_editable_instance
Node.set_editor_description
RigidBody2D.set_freeze_enabled
RigidBody2D.set_freeze_mode
Node2D.set_global_position
Node2D.set_global_rotation
Node2D.set_global_rotation_degrees
Node2D.set_global_scale
Node2D.set_global_skew
Node2D.set_global_transform
RigidBody2D.set_gravity_scale
RigidBody2D.set_inertia
CanvasItem.set_light_mask
RigidBody2D.set_linear_damp
RigidBody2D.set_linear_damp_mode
RigidBody2D.set_linear_velocity
RigidBody2D.set_lock_rotation_enabled
RigidBody2D.set_mass
CanvasItem.set_material
RigidBody2D.set_max_contacts_reported
Object.set_message_translation
CanvasItem.set_modulate
Node.set_multiplayer_authority
Node.set_name
CanvasItem.set_notify_local_transform
CanvasItem.set_notify_transform
Node.set_physics_interpolation_mode
RigidBody2D.set_physics_material_override
Node.set_physics_process
Node.set_physics_process_internal
Node.set_physics_process_priority
CollisionObject2D.set_pickable
Node2D.set_position
Node.set_process
Node.set_process_input
Node.set_process_internal
Node.set_process_mode
Node.set_process_priority
Node.set_process_shortcut_input
Node.set_process_thread_group
Node.set_process_thread_group_order
Node.set_process_thread_messages
Node.set_process_unhandled_input
Node.set_process_unhandled_key_input
Node2D.set_rotation
Node2D.set_rotation_degrees
Node2D.set_scale
Node.set_scene_file_path
Node.set_scene_instance_load_placeholder
CanvasItem.set_self_modulate
Node2D.set_skew
RigidBody2D.set_sleeping
CanvasItem.set_texture_filter
CanvasItem.set_texture_repeat
Node2D.set_transform
Object.set_translation_domain
Node.set_translation_domain_inherited
Node.set_unique_name_in_owner
RigidBody2D.set_use_custom_integrator
CanvasItem.set_use_parent_material
CanvasItem.set_visibility_layer
CanvasItem.set_visibility_layer_bit
CanvasItem.set_visible
CanvasItem.set_y_sort_enabled
CanvasItem.set_z_as_relative
CanvasItem.set_z_index
CollisionObject2D.shape_find_owner
CollisionObject2D.shape_owner_add_shape
CollisionObject2D.shape_owner_clear_shapes
CollisionObject2D.shape_owner_get_owner
CollisionObject2D.shape_owner_get_shape. Returns an owned reference: release it with unref() or inside Gd.scoped.
CollisionObject2D.shape_owner_get_shape. Returns an owned reference: release it with unref() or inside Gd.scoped.
Attributes
- Inherited from:
- CollisionObject2D
CollisionObject2D.shape_owner_get_shape_count
CollisionObject2D.shape_owner_get_shape_index
CollisionObject2D.shape_owner_get_transform
CollisionObject2D.shape_owner_remove_shape
CollisionObject2D.shape_owner_set_disabled
CollisionObject2D.shape_owner_set_one_way_collision
CollisionObject2D.shape_owner_set_one_way_collision_margin
CollisionObject2D.shape_owner_set_one_way_collision_margin
Attributes
- Inherited from:
- CollisionObject2D
CollisionObject2D.shape_owner_set_transform
CanvasItem.show
PhysicsBody2D.test_move
Node2D.to_global
Node2D.to_local
Object.tr
Object.tr_n
Node2D.translate
Release one reference this wrapper owns (an engine Ref<T> return, Gd.create, or refInc), destroying the object if it was the last reference. Does nothing when the wrapper owns no reference, so a borrowed object can never be freed from under the engine.
Release one reference this wrapper owns (an engine Ref<T> return, Gd.create, or refInc), destroying the object if it was the last reference. Does nothing when the wrapper owns no reference, so a borrowed object can never be freed from under the engine.
Attributes
- Inherited from:
- GodotScriptClass
Node.update_configuration_warnings
Set the handle and return this (fluent, for wrapping fetched objects).
Set the handle and return this (fluent, for wrapping fetched objects).
Attributes
- Inherited from:
- GodotScriptClass