Search the Community
Showing results for tags 'reset'.
Klimczak.Jan posted a topic in Feeback for UNIGINE teamHi, I thing that it could be very useful to have option in Editor2 to just reset physic state (with transformations of affected objects) to state from file. It could be very similar to world_reload but it could be a little bit more performance improvement to world_reload because it could do just 2 thinks which I described earlier. Kind regards, Jan
I'm performing a simple mouse intersection test to create a new dummy node and whenever I do, my editor cam is reset somewhere back to 0,0,0. Any idea why this is? int ret; vec3 p0, p1; Unigine::getPlayerMouseDirection(p0,p1); Object obj = engine.world.getIntersection(p0, p1, ~0, ret); NodeDummy pt = new NodeDummy(); pt.setName("TESTNODE"); pt.setWorldPosition(ret); engine.editor.addNode(pt); Philip