mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 11:43:49 +00:00
Adds handling to the path manager so it can deal with both looping and non-looping paths
This commit is contained in:
parent
036c7c2c75
commit
0a962342ac
3 changed files with 128 additions and 12 deletions
|
|
@ -248,8 +248,7 @@ void Path::updatePath()
|
|||
}
|
||||
}
|
||||
|
||||
// DMMTODO: Looping paths.
|
||||
gServerPathManager->updatePath(mPathIndex, positions, rotations, times, smoothingTypes);
|
||||
gServerPathManager->updatePath(mPathIndex, positions, rotations, times, smoothingTypes, mIsLooping);
|
||||
}
|
||||
|
||||
void Path::addObject(SimObject* obj)
|
||||
|
|
@ -543,4 +542,4 @@ void Marker::unpackUpdate(NetConnection* con, BitStream* stream)
|
|||
stream->readAffineTransform(&otow);
|
||||
|
||||
setTransform(otow);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue