diff options
Fixed problem of not being able to move out of the first 3X3 block of regions. (Code Needs cleaning up).
Diffstat (limited to 'OpenSim/OpenSim.Region/Scenes/Entity.cs')
-rw-r--r-- | OpenSim/OpenSim.Region/Scenes/Entity.cs | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/OpenSim/OpenSim.Region/Scenes/Entity.cs b/OpenSim/OpenSim.Region/Scenes/Entity.cs index 2376fc4..bd9309b 100644 --- a/OpenSim/OpenSim.Region/Scenes/Entity.cs +++ b/OpenSim/OpenSim.Region/Scenes/Entity.cs | |||
@@ -38,10 +38,9 @@ namespace OpenSim.Region.Scenes | |||
38 | public abstract class Entity : IScriptReadonlyEntity | 38 | public abstract class Entity : IScriptReadonlyEntity |
39 | { | 39 | { |
40 | public libsecondlife.LLUUID uuid; | 40 | public libsecondlife.LLUUID uuid; |
41 | public LLVector3 velocity; | ||
42 | public Quaternion rotation; | 41 | public Quaternion rotation; |
43 | protected List<Entity> children; | 42 | protected List<Entity> children; |
44 | protected LLVector3 m_pos; | 43 | |
45 | protected PhysicsActor _physActor; | 44 | protected PhysicsActor _physActor; |
46 | protected Scene m_world; | 45 | protected Scene m_world; |
47 | protected string m_name; | 46 | protected string m_name; |
@@ -54,6 +53,7 @@ namespace OpenSim.Region.Scenes | |||
54 | get { return m_name; } | 53 | get { return m_name; } |
55 | } | 54 | } |
56 | 55 | ||
56 | protected LLVector3 m_pos; | ||
57 | /// <summary> | 57 | /// <summary> |
58 | /// | 58 | /// |
59 | /// </summary> | 59 | /// </summary> |
@@ -92,6 +92,11 @@ namespace OpenSim.Region.Scenes | |||
92 | } | 92 | } |
93 | } | 93 | } |
94 | 94 | ||
95 | public LLVector3 velocity; | ||
96 | |||
97 | /// <summary> | ||
98 | /// | ||
99 | /// </summary> | ||
95 | public virtual LLVector3 Velocity | 100 | public virtual LLVector3 Velocity |
96 | { | 101 | { |
97 | get | 102 | get |