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