Add GroupPosition and GetWorldPosition() checks to TestGetRootPartPosition()
parent
b22dfbbf15
commit
411dbb8df4
|
@ -81,8 +81,10 @@ namespace OpenSim.Region.Framework.Scenes.Tests
|
|||
m_scene.AddNewSceneObject(so, false);
|
||||
|
||||
Assert.That(so.RootPart.AbsolutePosition, Is.EqualTo(partPosition));
|
||||
Assert.That(so.RootPart.OffsetPosition, Is.EqualTo(Vector3.Zero));
|
||||
Assert.That(so.RootPart.GroupPosition, Is.EqualTo(partPosition));
|
||||
Assert.That(so.RootPart.GetWorldPosition(), Is.EqualTo(partPosition));
|
||||
Assert.That(so.RootPart.RelativePosition, Is.EqualTo(partPosition));
|
||||
Assert.That(so.RootPart.OffsetPosition, Is.EqualTo(Vector3.Zero));
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue