diff options
author | UbitUmarov | 2012-12-07 20:06:35 +0000 |
---|---|---|
committer | UbitUmarov | 2012-12-07 20:06:35 +0000 |
commit | 2ea0dc55d7ea6da6e91ab614856cdeece7eae5d2 (patch) | |
tree | b206c3b95b118718a62d8e1a8b81347e50a0ea80 /OpenSim/Region/Physics/UbitOdePlugin/ODECharacter.cs | |
parent | calculate avatar size on tps (diff) | |
download | opensim-SC-2ea0dc55d7ea6da6e91ab614856cdeece7eae5d2.zip opensim-SC-2ea0dc55d7ea6da6e91ab614856cdeece7eae5d2.tar.gz opensim-SC-2ea0dc55d7ea6da6e91ab614856cdeece7eae5d2.tar.bz2 opensim-SC-2ea0dc55d7ea6da6e91ab614856cdeece7eae5d2.tar.xz |
create a new ode character also with the new information
Diffstat (limited to 'OpenSim/Region/Physics/UbitOdePlugin/ODECharacter.cs')
-rw-r--r-- | OpenSim/Region/Physics/UbitOdePlugin/ODECharacter.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/Region/Physics/UbitOdePlugin/ODECharacter.cs b/OpenSim/Region/Physics/UbitOdePlugin/ODECharacter.cs index 9c245e6..15bdc57 100644 --- a/OpenSim/Region/Physics/UbitOdePlugin/ODECharacter.cs +++ b/OpenSim/Region/Physics/UbitOdePlugin/ODECharacter.cs | |||
@@ -156,7 +156,7 @@ namespace OpenSim.Region.Physics.OdePlugin | |||
156 | 156 | ||
157 | 157 | ||
158 | 158 | ||
159 | public OdeCharacter(String avName, OdeScene parent_scene, Vector3 pos, Vector3 pSize, float density, float walk_divisor, float rundivisor) | 159 | public OdeCharacter(String avName, OdeScene parent_scene, Vector3 pos, Vector3 pSize, float pfeetOffset, float density, float walk_divisor, float rundivisor) |
160 | { | 160 | { |
161 | m_uuid = UUID.Random(); | 161 | m_uuid = UUID.Random(); |
162 | 162 | ||
@@ -192,6 +192,7 @@ namespace OpenSim.Region.Physics.OdePlugin | |||
192 | if(m_size.Z <0.01f) | 192 | if(m_size.Z <0.01f) |
193 | m_size.Z = 0.01f; | 193 | m_size.Z = 0.01f; |
194 | 194 | ||
195 | m_feetOffset = pfeetOffset; | ||
195 | m_orientation = Quaternion.Identity; | 196 | m_orientation = Quaternion.Identity; |
196 | m_density = density; | 197 | m_density = density; |
197 | 198 | ||