1#include "ObjectDrivable.hh"
3#include "game/field/ObjectDrivableDirector.hh"
11ObjectDrivable::~ObjectDrivable() =
default;
14void ObjectDrivable::load() {
17 loadAABB(getCollisionRadius());
19 ObjectDrivableDirector::Instance()->addObject(
this);
23void ObjectDrivable::loadAABB(f32 radius) {
24 auto *boxColMgr = BoxColManager::Instance();
26 m_boxColUnit = boxColMgr->insertDrivable(radius, 0.0f, &pos,
false,
this);