diff options
Diffstat (limited to 'OpenSim/Region/Physics/OdePlugin/ODECharacter.cs')
-rw-r--r-- | OpenSim/Region/Physics/OdePlugin/ODECharacter.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/Region/Physics/OdePlugin/ODECharacter.cs b/OpenSim/Region/Physics/OdePlugin/ODECharacter.cs index 0f1446c..c41f812 100644 --- a/OpenSim/Region/Physics/OdePlugin/ODECharacter.cs +++ b/OpenSim/Region/Physics/OdePlugin/ODECharacter.cs | |||
@@ -104,7 +104,7 @@ namespace OpenSim.Region.Physics.OdePlugin | |||
104 | public d.Mass ShellMass; | 104 | public d.Mass ShellMass; |
105 | public bool collidelock = false; | 105 | public bool collidelock = false; |
106 | 106 | ||
107 | public OdeCharacter(String avName, OdeScene parent_scene, PhysicsVector pos, CollisionLocker dode) | 107 | public OdeCharacter(String avName, OdeScene parent_scene, PhysicsVector pos, CollisionLocker dode, PhysicsVector size) |
108 | { | 108 | { |
109 | ode = dode; | 109 | ode = dode; |
110 | _velocity = new PhysicsVector(); | 110 | _velocity = new PhysicsVector(); |
@@ -131,6 +131,7 @@ namespace OpenSim.Region.Physics.OdePlugin | |||
131 | { | 131 | { |
132 | m_colliderarr[i] = false; | 132 | m_colliderarr[i] = false; |
133 | } | 133 | } |
134 | CAPSULE_LENGTH = (size.Z - ((size.Z * 0.52f))); | ||
134 | 135 | ||
135 | lock (OdeScene.OdeLock) | 136 | lock (OdeScene.OdeLock) |
136 | { | 137 | { |