diff options
author | Justin Clark-Casey (justincc) | 2013-11-30 01:44:30 +0000 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2013-11-30 01:44:30 +0000 |
commit | 4cde02a2a36dd7f6afce49e5e6db78af021ab14b (patch) | |
tree | 531062a5641e071376d01f99a6b91df63ccd3bce /OpenSim/Framework/SimStats.cs | |
parent | Remove nudgehack from SP.HandleAgentUpdate by making MovementFlag a uint rath... (diff) | |
download | opensim-SC-4cde02a2a36dd7f6afce49e5e6db78af021ab14b.zip opensim-SC-4cde02a2a36dd7f6afce49e5e6db78af021ab14b.tar.gz opensim-SC-4cde02a2a36dd7f6afce49e5e6db78af021ab14b.tar.bz2 opensim-SC-4cde02a2a36dd7f6afce49e5e6db78af021ab14b.tar.xz |
Implement most effects of AGENT_CONTROL_STOP
AGENT_CONTROL_STOP is specified to SP.HandleAgentUpdate if the user holds down the space bar on a viewer.
For a stopped avatar, this prevents fly or walk/run (though not rotate) until released.
For a walking/running avatar, this reduces movement to half speed.
For a flying avatar, this stops the avatar.
These are observed behaviours on the LL grid - there was no previous OpenSimulator implementation
This commit introduces an optional parameter to SP.AddNewMovement(), which means that it will no longer compile on .NET 3.5 or earlier versions of Mono than 2.8
Currently, this does not work for jumping, and if used whilst flying the avatar continues the fly animation even though it does not move
Diffstat (limited to 'OpenSim/Framework/SimStats.cs')
0 files changed, 0 insertions, 0 deletions