diff options
Diffstat (limited to 'OpenSim/Region/Physics/BulletSPlugin/BSScene.cs')
-rw-r--r-- | OpenSim/Region/Physics/BulletSPlugin/BSScene.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Region/Physics/BulletSPlugin/BSScene.cs b/OpenSim/Region/Physics/BulletSPlugin/BSScene.cs index 0f79a10..414bc92 100644 --- a/OpenSim/Region/Physics/BulletSPlugin/BSScene.cs +++ b/OpenSim/Region/Physics/BulletSPlugin/BSScene.cs | |||
@@ -461,19 +461,19 @@ public sealed class BSScene : PhysicsScene, IPhysicsParameters | |||
461 | 461 | ||
462 | #region Prim and Avatar addition and removal | 462 | #region Prim and Avatar addition and removal |
463 | 463 | ||
464 | public override PhysicsActor AddAvatar(string avName, Vector3 position, Vector3 size, bool isFlying) | 464 | public override PhysicsActor AddAvatar(string avName, Vector3 position, Vector3 velocity, Vector3 size, bool isFlying) |
465 | { | 465 | { |
466 | m_log.ErrorFormat("{0}: CALL TO AddAvatar in BSScene. NOT IMPLEMENTED", LogHeader); | 466 | m_log.ErrorFormat("{0}: CALL TO AddAvatar in BSScene. NOT IMPLEMENTED", LogHeader); |
467 | return null; | 467 | return null; |
468 | } | 468 | } |
469 | 469 | ||
470 | public override PhysicsActor AddAvatar(uint localID, string avName, Vector3 position, Vector3 size, bool isFlying) | 470 | public override PhysicsActor AddAvatar(uint localID, string avName, Vector3 position, Vector3 velocity, Vector3 size, bool isFlying) |
471 | { | 471 | { |
472 | // m_log.DebugFormat("{0}: AddAvatar: {1}", LogHeader, avName); | 472 | // m_log.DebugFormat("{0}: AddAvatar: {1}", LogHeader, avName); |
473 | 473 | ||
474 | if (!m_initialized) return null; | 474 | if (!m_initialized) return null; |
475 | 475 | ||
476 | BSCharacter actor = new BSCharacter(localID, avName, this, position, size, isFlying); | 476 | BSCharacter actor = new BSCharacter(localID, avName, this, position, velocity, size, isFlying); |
477 | lock (PhysObjects) | 477 | lock (PhysObjects) |
478 | PhysObjects.Add(localID, actor); | 478 | PhysObjects.Add(localID, actor); |
479 | 479 | ||