added ability to update group position

afrisby
Sean Dague 2007-09-14 08:55:22 +00:00
parent 4b03834f8d
commit dddf61953b
1 changed files with 7 additions and 0 deletions

View File

@ -603,6 +603,13 @@ namespace OpenSim.Region.Environment.Scenes
this.OffsetPosition = newPos;
ScheduleTerseUpdate();
}
public void UpdateGroupPosition(LLVector3 pos)
{
LLVector3 newPos = new LLVector3(pos.X, pos.Y, pos.Z);
this.GroupPosition = newPos;
ScheduleTerseUpdate();
}
#endregion
#region rotation