add core:mob component & move player movement to scripting
This commit is contained in:
@@ -271,7 +271,6 @@ void PlayerController::update(float delta, const Input* inputEvents) {
|
||||
} else {
|
||||
resetKeyboard();
|
||||
}
|
||||
updatePlayer(delta);
|
||||
}
|
||||
|
||||
void PlayerController::postUpdate(
|
||||
@@ -313,10 +312,6 @@ void PlayerController::resetKeyboard() {
|
||||
input = {};
|
||||
}
|
||||
|
||||
void PlayerController::updatePlayer(float delta) {
|
||||
player.updateInput(input, delta);
|
||||
}
|
||||
|
||||
static int determine_rotation(
|
||||
const Block* def, const glm::ivec3& norm, const glm::vec3& camDir
|
||||
) {
|
||||
|
||||
Reference in New Issue
Block a user