mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-25 17:43:44 +00:00
By default it is not included in the build, you must #define GHOSTSCOPING in the torqueConfig.h to enable it. The distance can be set via the mission file by adding visibleGhostDistance = "1000"; Or if it is not set in the mission file it will default to what is defined in torqueConfig.h #defined as GHOSTSCOPING_DEFAULT_DISTANCE_IF_NOT_IN_MISSION The mission default distance can be overridden on a per connection basis by using gameconnection:setVisibleGhostDistance and gameconnection:getVisibleGhostDistance The logic for setting the scoping distance was moved from shapebase in the original design to SceneObject so that it will affect cameras, players, etc. |
||
|---|---|---|
| .. | ||
| extended | ||
| hifi | ||
| std | ||
| gameBase.cpp | ||
| gameBase.h | ||
| gameConnection.cpp | ||
| gameConnection.h | ||
| gameConnectionEvents.cpp | ||
| gameConnectionEvents.h | ||
| gameProcess.cpp | ||
| gameProcess.h | ||
| moveList.cpp | ||
| moveList.h | ||
| moveManager.cpp | ||
| moveManager.h | ||
| processList.cpp | ||
| processList.h | ||
| tickCache.cpp | ||
| tickCache.h | ||