16
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-07-19 02:09:17 +02:00

oneshot eventlauncher magic changed to -10000

This commit is contained in:
milek7
2019-04-26 01:08:22 +02:00
parent 2ffd2e569c
commit 633addfd5c
2 changed files with 4 additions and 7 deletions

View File

@@ -190,7 +190,7 @@ void state_manager::process_commands() {
TAnimModel *model = simulation::State.create_model(data, name, commanddata.location);
simulation::State.create_eventlauncher("node -1 0 launcher eventlauncher 0 0 0 " + std::to_string(model->radius())
+ " none 0.0 obstacle_collision end", name + "_snd", commanddata.location);
+ " none -10000.0 obstacle_collision end", name + "_snd", commanddata.location);
}
if (commanddata.command == user_command::deletemodel) {