mirror of
https://github.com/opensim/opensim.git
synced 2026-08-08 18:25:33 +08:00
For now, stop passing timeStep into methods where it's not actually used.
This commit is contained in:
@@ -883,15 +883,14 @@ namespace OpenSim.Region.Physics.OdePlugin
|
||||
/// Called from Simulate
|
||||
/// This is the avatar's movement control + PID Controller
|
||||
/// </summary>
|
||||
/// <param name="timeStep"></param>
|
||||
/// <param name="defects">
|
||||
/// If there is something wrong with the character (e.g. its position is non-finite)
|
||||
/// then it is added to this list. The ODE structures associated with it are also destroyed.
|
||||
/// </param>
|
||||
public void Move(float timeStep, List<OdeCharacter> defects)
|
||||
internal void Move(List<OdeCharacter> defects)
|
||||
{
|
||||
// no lock; for now it's only called from within Simulate()
|
||||
|
||||
|
||||
// If the PID Controller isn't active then we set our force
|
||||
// calculating base velocity to the current position
|
||||
|
||||
|
||||
Reference in New Issue
Block a user