History

Space bubble improvements (#9142)

* The space bubble around a player's avatar is now visualized. When another avatar enters a player's bubble, The bubble visualization will appear, a soft tone will play, and the "Bubble" HUD button will flash. * The space bubble radius setting has been removed. Space bubble size now scales based on avatar scale. * Space bubble collision detection is now more accurate and reliable. * CTRL + N toggles the bubble. * The "Bubble" HUD button has been moved to the proper location.

Zach Fox committed 9 years ago

Commit 7030c7b1 parent 84bf93b35 files · +366 −124Browse files

Showing the changes to libraries/script-engine/src/UsersScriptingInterface.cpp (1 of 35 files). Show all

Unified · Split

libraries/script-engine/src/UsersScriptingInterface.cpp+0−8
@@ -52,14 +52,6 @@ void UsersScriptingInterface::disableIgnoreRadius() { · 51 unmodified lines
52 DependencyManager::get<NodeList>()->disableIgnoreRadius();52 DependencyManager::get<NodeList>()->disableIgnoreRadius();
53}53}
54 54
55void UsersScriptingInterface::setIgnoreRadius(float radius, bool enabled) {
56 DependencyManager::get<NodeList>()->ignoreNodesInRadius(radius, enabled);
57}
58
59 float UsersScriptingInterface::getIgnoreRadius() {
60 return DependencyManager::get<NodeList>()->getIgnoreRadius();
61}
62
63bool UsersScriptingInterface::getIgnoreRadiusEnabled() {55bool UsersScriptingInterface::getIgnoreRadiusEnabled() {
64 return DependencyManager::get<NodeList>()->getIgnoreRadiusEnabled();56 return DependencyManager::get<NodeList>()->getIgnoreRadiusEnabled();
65}57}