Add simple RelativePosition and OffsetPosition checks to TestGetRootPartPosition
parent
eeec1f32c6
commit
3ae98611f2
|
@ -60,6 +60,8 @@ namespace OpenSim.Region.Framework.Scenes.Tests
|
||||||
|
|
||||||
Assert.That(so.AbsolutePosition, Is.EqualTo(partPosition));
|
Assert.That(so.AbsolutePosition, Is.EqualTo(partPosition));
|
||||||
Assert.That(so.RootPart.AbsolutePosition, Is.EqualTo(partPosition));
|
Assert.That(so.RootPart.AbsolutePosition, Is.EqualTo(partPosition));
|
||||||
|
Assert.That(so.RootPart.OffsetPosition, Is.EqualTo(Vector3.Zero));
|
||||||
|
Assert.That(so.RootPart.RelativePosition, Is.EqualTo(partPosition));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue