CollisionObject

Inherits: Spatial < Node < Object

Inherited By: PhysicsBody, Area

Category: Core

Brief Description

Member Functions

void _input_event ( Object camera, InputEvent event, Vector3 click_pos, Vector3 click_normal, int shape_idx ) virtual
void add_shape ( Shape shape, Transform transform=Transform() )
void clear_shapes ( )
bool get_capture_input_on_drag ( ) const
RID get_rid ( ) const
Shape get_shape ( int shape_idx ) const
int get_shape_count ( ) const
Transform get_shape_transform ( int shape_idx ) const
bool is_ray_pickable ( ) const
bool is_shape_set_as_trigger ( int shape_idx ) const
void remove_shape ( int shape_idx )
void set_capture_input_on_drag ( bool enable )
void set_ray_pickable ( bool ray_pickable )
void set_shape ( int shape_idx, Shape shape )
void set_shape_as_trigger ( int shape_idx, bool enable )
void set_shape_transform ( int shape_idx, Transform transform )

Signals

Member Function Description

  • void clear_shapes ( )
  • bool get_capture_input_on_drag ( ) const
  • RID get_rid ( ) const
  • Shape get_shape ( int shape_idx ) const
  • int get_shape_count ( ) const
  • bool is_ray_pickable ( ) const
  • bool is_shape_set_as_trigger ( int shape_idx ) const
  • void remove_shape ( int shape_idx )
  • void set_capture_input_on_drag ( bool enable )
  • void set_ray_pickable ( bool ray_pickable )
  • void set_shape ( int shape_idx, Shape shape )
  • void set_shape_as_trigger ( int shape_idx, bool enable )
  • void set_shape_transform ( int shape_idx, Transform transform )