mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 17:05:55 +08:00
* Removes IObject.Position, IObject.Rotation from IObject
* Adds IObject.WorldPosition and IObject.OffsetPosition - this is equivilent to AbsolutePosition and OffsetPosition in SOP respectively. * Adds IObject.WorldRotation and IObject.OffsetRotation - as above.
This commit is contained in:
@@ -103,13 +103,19 @@ namespace OpenSim.Region.OptionalModules.Scripting.Minimodule
|
||||
set { GetSOP().Scale = value; }
|
||||
}
|
||||
|
||||
public Quaternion Rotation
|
||||
public Quaternion WorldRotation
|
||||
{
|
||||
get { throw new System.NotImplementedException(); }
|
||||
set { throw new System.NotImplementedException(); }
|
||||
}
|
||||
|
||||
public Vector3 Position
|
||||
public Quaternion OffsetRotation
|
||||
{
|
||||
get { throw new System.NotImplementedException(); }
|
||||
set { throw new System.NotImplementedException(); }
|
||||
}
|
||||
|
||||
public Vector3 WorldPosition
|
||||
{
|
||||
get { return GetSOP().AbsolutePosition; }
|
||||
set
|
||||
@@ -119,6 +125,12 @@ namespace OpenSim.Region.OptionalModules.Scripting.Minimodule
|
||||
}
|
||||
}
|
||||
|
||||
public Vector3 OffsetPosition
|
||||
{
|
||||
get { return GetSOP().OffsetPosition; }
|
||||
set { GetSOP().OffsetPosition = value; }
|
||||
}
|
||||
|
||||
public Vector3 SitTarget
|
||||
{
|
||||
get { throw new System.NotImplementedException(); }
|
||||
|
||||
Reference in New Issue
Block a user