Typedefs¶
Physics
Brief descriptions¶
Usings |
|
Type of the collision channel. |
Detailed information¶
physics::TFloat¶
engine/core/modules/physics/include/nau/physics/physics_defines.h
-
using nau::physics::TFloat = float¶
physics::CollisionChannel¶
engine/core/modules/physics/include/nau/physics/physics_defines.h
-
using nau::physics::CollisionChannel = std::uint16_t¶
Type of the collision channel.
Collision channels are used to group bodies and modify their behavior on contact.
You can allow or forbid contact between two channels. If the contact between two channels is not allowed, their bodies to not collide. You can allow and forbid contacts between channels by calling nau::physics::IPhysicsWorld::setChannelsCollidable. You can attach a channel to a body by calling nau::physics::IPhysicsBody::setCollisionChannel.