Made anchoring togglable in play mode

This commit is contained in:
Vulpovile
2022-10-02 16:44:59 -07:00
parent 8c47024960
commit df77572fe7
5 changed files with 20 additions and 8 deletions

View File

@@ -198,7 +198,7 @@ void Application::onInit() {
test->setPosition(Vector3(0,0,0));
test->setCFrame(test->getCFrame() * Matrix3::fromEulerAnglesXYZ(0,toRadians(0),toRadians(0)));
test->setSurface(TOP, Enum::SurfaceType::Bumps);
test->anchored = true;
test->setAnchored(true);
test = makePart();
test->setParent(_dataModel->getWorkspace());