dongju.jeong Posted July 18, 2019 Posted July 18, 2019 The function inside the key input code does not seem to be working when executed after assembling. update() { ControlsPtr controls = Game::get()->getPlayer()->getControls(); if (controls->clearState(Controls::STATE_USE)) { ((VRPlayerVive*)vr_player)->landPlayerTo(Vec3(0.f), vec3(0, 1, 0)); //It works. ((VRPlayerVive*)vr_player)->startCorrecting(); //it is not works. } } I'm not sure if the function is really not running because I can't debug Execute file , but the inserted Log in function did not appear. What's the problem?
cash-metall Posted July 19, 2019 Posted July 19, 2019 It seems like you have something wrong with the assembly. Probably, you need clean and rebuild your CPP project. try to add any console output, to make sure the program really works Log::warning("programm is here 1111\n"); 1
Recommended Posts