![]() |
Copperfield Engine 0.1
C++ Game Engine
|
Component used to detect collisions. More...
#include <default_components.hpp>
Public Member Functions | |
BoxCmp (const coma::Vec3 &position, const coma::Vec3 &size={1.0f, 1.0f, 1.0f}) | |
Creates a BoxCmp. More... | |
Public Attributes | |
coma::Vec3 | position_ = {0.0f,0.0f,0.0f} |
Position of the box relative to the TransformCmp position. | |
coma::Vec3 | size_ = {1.0f,1.0f,1.0f} |
Size of the box not affected by the TransformCmp scale. | |
Component used to detect collisions.
|
inlineexplicit |