* 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.
Showing the changes to libraries/script-engine/src/UsersScriptingInterface.cpp (1 of 35 files). Show all
Unified · Split
| @@ -52,14 +52,6 @@ void UsersScriptingInterface::disableIgnoreRadius() { · 51 unmodified lines | |||
| 52 | DependencyManager::get<NodeList>()->disableIgnoreRadius(); | 52 | DependencyManager::get<NodeList>()->disableIgnoreRadius(); |
| 53 | } | 53 | } |
| 54 | 54 | ||
| 55 | void 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 | |||
| 63 | bool UsersScriptingInterface::getIgnoreRadiusEnabled() { | 55 | bool UsersScriptingInterface::getIgnoreRadiusEnabled() { |
| 64 | return DependencyManager::get<NodeList>()->getIgnoreRadiusEnabled(); | 56 | return DependencyManager::get<NodeList>()->getIgnoreRadiusEnabled(); |
| 65 | } | 57 | } |