mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-11 06:34:36 +00:00
remove terrain dependency from mission area
Mission Area now captures the entire level bounds based on objects in the scene Terrain is no longer required for mission area to be set
This commit is contained in:
parent
6ffa5fe265
commit
0a1e3f74ed
6 changed files with 133 additions and 116 deletions
|
|
@ -51,7 +51,7 @@ ConsoleDocClass( MissionArea,
|
|||
"@ingroup enviroMisc\n"
|
||||
);
|
||||
|
||||
RectI MissionArea::smMissionArea(Point2I(768, 768), Point2I(512, 512));
|
||||
RectI MissionArea::smMissionArea(Point2I(-100, -100), Point2I(100, 100));
|
||||
|
||||
MissionArea * MissionArea::smServerObject = NULL;
|
||||
|
||||
|
|
@ -59,7 +59,7 @@ MissionArea * MissionArea::smServerObject = NULL;
|
|||
|
||||
MissionArea::MissionArea()
|
||||
{
|
||||
mArea.set(Point2I(768, 768), Point2I(512, 512));
|
||||
mArea.set(Point2I(-100, -100), Point2I(100, 100));
|
||||
mNetFlags.set(Ghostable | ScopeAlways);
|
||||
|
||||
mFlightCeiling = 2000;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue