PhysicsBody

Inherits: CollisionObject < Spatial < Node < Object

Inherited By: VehicleBody, KinematicBody, StaticBody, RigidBody

Category: Core

Brief Description

Base class for different types of Physics bodies.

Member Functions

void add_collision_exception_with ( PhysicsBody body )
int get_layer_mask ( ) const
void remove_collision_exception_with ( PhysicsBody body )
void set_layer_mask ( int mask )

Description

PhysicsBody is an abstract base class for implementing a physics body. All PhysicsBody types inherit from it.

Member Function Description

  • void add_collision_exception_with ( PhysicsBody body )
  • int get_layer_mask ( ) const
  • void remove_collision_exception_with ( PhysicsBody body )
  • void set_layer_mask ( int mask )