mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-01-20 04:34:48 +00:00
default controlables and items to mPathfindingIgnore = true;
This commit is contained in:
parent
4481bdc726
commit
b8f7d186d3
|
|
@ -312,6 +312,7 @@ IMPLEMENT_CALLBACK( Item, onLeaveLiquid, void, ( const char* objID, const char*
|
|||
Item::Item()
|
||||
{
|
||||
mTypeMask |= ItemObjectType | DynamicShapeObjectType;
|
||||
mPathfindingIgnore = true;
|
||||
mDataBlock = 0;
|
||||
mStatic = false;
|
||||
mRotate = false;
|
||||
|
|
|
|||
|
|
@ -1552,7 +1552,7 @@ ConsoleDocClass( Player,
|
|||
Player::Player()
|
||||
{
|
||||
mTypeMask |= PlayerObjectType | DynamicShapeObjectType;
|
||||
|
||||
mPathfindingIgnore = true;
|
||||
mDelta.pos = mAnchorPoint = Point3F(0,0,100);
|
||||
mDelta.rot = mDelta.head = Point3F(0,0,0);
|
||||
mDelta.rotOffset.set(0.0f,0.0f,0.0f);
|
||||
|
|
|
|||
|
|
@ -376,7 +376,7 @@ Vehicle::Vehicle()
|
|||
{
|
||||
mDataBlock = 0;
|
||||
mTypeMask |= VehicleObjectType | DynamicShapeObjectType;
|
||||
|
||||
mPathfindingIgnore = true;
|
||||
mDelta.pos = Point3F(0,0,0);
|
||||
mDelta.posVec = Point3F(0,0,0);
|
||||
mDelta.warpTicks = mDelta.warpCount = 0;
|
||||
|
|
|
|||
Loading…
Reference in a new issue