diff options
author | Teravus Ovares | 2008-02-18 01:52:25 +0000 |
---|---|---|
committer | Teravus Ovares | 2008-02-18 01:52:25 +0000 |
commit | 8edaada1d3a8766f0759ddd42bdbf96c864ef30c (patch) | |
tree | de494add7658b6c9c5e7f50fc81040d2ba5abeac /OpenSim/Region/Physics/OdePlugin/ODECharacter.cs | |
parent | Thank you Hashbox for adding the (diff) | |
download | opensim-SC_OLD-8edaada1d3a8766f0759ddd42bdbf96c864ef30c.zip opensim-SC_OLD-8edaada1d3a8766f0759ddd42bdbf96c864ef30c.tar.gz opensim-SC_OLD-8edaada1d3a8766f0759ddd42bdbf96c864ef30c.tar.bz2 opensim-SC_OLD-8edaada1d3a8766f0759ddd42bdbf96c864ef30c.tar.xz |
ODE: Tired of floating above the ground after crossing a border? Boy have I got a solution for you! For a limited time, you can be the right height after border crossings automatically. Just three easy payments of $9.95 and make sure your neighbor is sending child agent updates!
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 | { |