aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Tools/pCampBot/PhysicsBot.cs
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2011-11-01 23:23:45 +0000
committerJustin Clark-Casey (justincc)2011-11-01 23:23:45 +0000
commit9456a540c50b90d2c2cdb1b556e9d6190f817426 (patch)
tree8e0de61cabd2000a25b3c35a88d082b23a79f52d /OpenSim/Tools/pCampBot/PhysicsBot.cs
parentAdd "show status" command to pCambot (diff)
downloadopensim-SC_OLD-9456a540c50b90d2c2cdb1b556e9d6190f817426.zip
opensim-SC_OLD-9456a540c50b90d2c2cdb1b556e9d6190f817426.tar.gz
opensim-SC_OLD-9456a540c50b90d2c2cdb1b556e9d6190f817426.tar.bz2
opensim-SC_OLD-9456a540c50b90d2c2cdb1b556e9d6190f817426.tar.xz
Add "appearance send" command to allow manual sending of appearance.
Diffstat (limited to 'OpenSim/Tools/pCampBot/PhysicsBot.cs')
-rw-r--r--OpenSim/Tools/pCampBot/PhysicsBot.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Tools/pCampBot/PhysicsBot.cs b/OpenSim/Tools/pCampBot/PhysicsBot.cs
index 14e9cca..a8b2426 100644
--- a/OpenSim/Tools/pCampBot/PhysicsBot.cs
+++ b/OpenSim/Tools/pCampBot/PhysicsBot.cs
@@ -124,11 +124,11 @@ namespace pCampBot
124 } 124 }
125 125
126 // TODO: unused: Vector3 pos = client.Self.SimPosition; 126 // TODO: unused: Vector3 pos = client.Self.SimPosition;
127 Vector3 newpos = new Vector3(somthing.Next(255), somthing.Next(255), somthing.Next(255)); 127 Vector3 newpos = new Vector3(somthing.Next(1, 254), somthing.Next(1, 254), somthing.Next(1, 254));
128 client.Self.Movement.TurnToward(newpos); 128 client.Self.Movement.TurnToward(newpos);
129 129
130 client.Self.Movement.AtPos = true; 130 client.Self.Movement.AtPos = true;
131 Thread.Sleep(somthing.Next(3000,13000)); 131 Thread.Sleep(somthing.Next(3000, 13000));
132 client.Self.Movement.AtPos = false; 132 client.Self.Movement.AtPos = false;
133 client.Self.Jump(true); 133 client.Self.Jump(true);
134 134