# Unigine.Physical Class (CPP) **Header:** #include **Inherits from:** Node This class is used to create physicals that represent an invisible force acting upon physical [bodies](../../../api/library/physics/class.body_cpp.md) with collision [shapes](../../../api/library/physics/class.shape_cpp.md) and matching [physical mask](../../../api/library/physics/class.body_cpp.md#setPhysicalMask_int_void). ## Physical Class ### Members ## void setPhysicalMask ( int mask ) Sets a new bit mask for physical interactions. the physical object will interact with the other object if they both have matching masks. ### Arguments - *int* **mask** - The bit mask for physical interactions ## int getPhysicalMask () const Returns the current bit mask for physical interactions. the physical object will interact with the other object if they both have matching masks. ### Return value Current bit mask for physical interactions