Merge branch 'developer' into enemy
# Conflicts: # CrystalPoint.cpp # Entity.cpp # Player.cpp # Player.h # World.cpp # World.h
This commit is contained in:
@@ -7,6 +7,8 @@ LevelObject::LevelObject(const std::string &fileName, const Vec3f &position, con
|
||||
{
|
||||
model = Model::load(fileName);
|
||||
this->position = position;
|
||||
this->position.x -= model->center.x;
|
||||
this->position.z -= model->center.z;
|
||||
this->rotation = rotation;
|
||||
this->scale = scale;
|
||||
this->canCollide = hasCollision;
|
||||
|
||||
Reference in New Issue
Block a user