aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/ScenePresence.cs (unfollow)
Commit message (Collapse)AuthorFilesLines
2009-10-01Formatting cleanup.Jeff Ames1-7/+7
2009-09-26First pass at the heart surgery for grid services. Compiles and runs ↵Diva Canto1-2/+4
minimally. A few bugs to catch now.
2009-09-18Alternate algorithm for fixing avatar capsule tilt (Mantis #2905)nlin1-1/+1
Eliminate dynamic capsule wobble. Instead introduce a small, fixed tilt, and allow the tilt to rotate with the avatar while moving; the tilt always faces away from the direction of avatar movement. The rotation while moving should eliminate direction-dependent behavior (e.g. only being able to climb on top of prims from certain directions). Falling animation is still too frequently invoked. Ideally the tilt should be completely eliminated, but doing so currently causes the avatar to fall through the terrain.
2009-09-13* More comments in the RegionCombinerModuleTeravus Ovares (Dan Olivares)1-4/+22
* Changed the Destination ID to 0 in the TeleportFinish Event (why did we have it as 3?) * Added border based trigger teleports * Fix MakeRootAgent border cross tests for ensuring that the position is inside the region to use the borders to figure out if it's outside the Region
2009-09-05* Moves ScenePresence SendCourseLocations to a delegate and provide a method ↵Teravus Ovares (Dan Olivares)1-0/+23
to replace the delegate * RegionCombinerModule replaces this delegate and distributes the CoarseLocationUpdates through the client connection in the region where the user would be if it was a separate region. * Fixes Mini Map display on combined regions.
2009-08-31* Fix attachment cross issues with new borders.Teravus Ovares (Dan Olivares)1-1/+1
2009-08-28* Deal with teleports to other virtual regions in the same scene.Teravus Ovares (Dan Olivares)1-0/+1
2009-08-20* Switch border cross tests over to the new Border class.Teravus Ovares (Dan Olivares)1-8/+9
* Use List<Border> for each cardinal to allow for irregular regions.
2009-08-19Add Border (a virtual border management class)Teravus Ovares (Dan Olivares)1-4/+1
Move Cardinals to it's own file.
2009-08-16Removing the conditional for assetID=Zero upon rezzing attachments on login.Diva Canto1-5/+7
2009-08-16Removed some debug messagesDiva Canto1-33/+3
2009-08-16Making attachments work again. Tons of debug more. This needs more testing ↵Diva Canto1-60/+91
and a lot of cleaning.
2009-08-13Inventory redirects from CachedUserInfo to InventoryService COMPLETE!Diva Canto1-5/+5
2009-08-07This is the second part of the 'not crash on regionsize changes'. This ↵Teravus Ovares (Dan Olivares)1-3/+3
lets you configure region sizes to be smaller without crashing the region. I remind you that regions are still square, must be a multiple of 4, and the Linden client doesn't like anything other then 256. If you set it bigger or smaller, the terrain doesn't load in the client, the map has issues, and god forbid you connect it to a grid that expects 256m regions.
2009-08-06goose pandaJustin Clark-Casey (justincc)1-3/+1
2009-08-01* Tweak the caps manager so that the NPCAvatar works again.Teravus Ovares1-2/+11
2009-07-21* Fixed a case where a prim was a NullPhysicsActor instead of an OdePrimTeravus Ovares1-1/+1
* Commented logic that wasn't being used. * This should fix the errors in OdeScene.near
2009-07-19* Created a way that the OpenSimulator scene can ask the physics scene to do ↵Teravus Ovares1-1/+72
a raycast test safely. * Test for prim obstructions between the avatar and camera. If there are obstructions, inform the client to move the camera closer. This makes it so that walls and objects don't obstruct your view while you're moving around. Try walking inside a hollowed tori. You'll see how much easier it is now because your camera automatically moves closer so you can still see. * Created a way to know if the user's camera is alt + cammed or just following the avatar. * Changes IClientAPI interface by adding SendCameraConstraint(Vector4 CameraConstraint)
2009-07-17* Change the order of Update so Physics processes a frame before the scene ↵Teravus Ovares1-36/+69
manipulates the physics Scene.cs * Remove the draconic locking around adding an avatar to the Scene * Handle an extreme error case when border crossing fails and user uses map to teleport to a different region on the same instance causing control commands to go to a child agent. * Make the Set Appearance method use the proper 'remove from physics scene' method. * It *may* help border crossings. * It *may* help the 'on avatar rez' lag, that people have been seeing the past week. * It may also cause physics to crash more often on failed teleports (though.. I think I got the cases covered).
2009-07-16* Tweaking collision reporting a little more in ScenePresence to not check ↵Teravus Ovares1-1/+1
if the collisions will affect health if the avatar is invulnerable. (saves 3 loops)
2009-07-16There was possible a locking issue in revision 9951 so reverting that ↵MW1-18/+21
revision until further testing can be done.
2009-07-15minor: remove some mono compiler warningsJustin Clarke Casey1-2/+0
2009-07-15A stab at implementing llSetDamage. Not persistent.Melanie Thielker1-1/+6
2009-07-08Prevent teleports from ending undergroundMelanie Thielker1-0/+11
2009-06-28Removed the List<NewForce> m_forceList from ScenePresence, as there wasn't ↵MW1-20/+18
any need for a list, as only the last entry in it was acted on. So it now has a single NewForce m_nextVelocity , which is updated (rather than a NewForce object being created every AgentUpdate). So as well as cutting out all the adds and clearing of the list, it also removes the creation of upto 100+ new objects per second per avatar.
2009-06-26Extracted the code that handles the sending of prim updates to the client, ↵MW1-155/+25
from ScenePresence into ISceneViewer/SceneViewer. Currently ScenePresence "has" a ISceneViewer, although if we had a proper Node based scenegraph then it would most likely be attached directly to the nodes. By extracting this code, it should make it easier to experiment with different ways of managing the update process. [Next step to make this module based, could be to create a SceneViewerFactoryModule]
2009-06-25Added a note to the ScenePresence.UpdateMovement() method, to remind ↵MW1-1/+1
everyone that the so called "forces" are actually velocities.
2009-06-25Applied patch from mantis #3820 which changed the clearing of the ↵MW1-20/+16
ScenePresence.m_forcesList, so it used the List.Clear method rather than doing a loop through the list and manually removing each item. Thanks dslake. I also fixed the issue where the code also loops through the m_forcesList and copies each force to the ScenePresence's movementVector. Which resulted in only the last force in the list actually be acted on. As each copy overrode the last one. So now it only copies the last force in the list.
2009-06-10Formatting cleanup.Jeff Ames1-1/+1
2009-06-01Minor: Change OpenSim to OpenSimulator in older copyright headers and ↵Jeff Ames1-1/+1
LICENSE.txt.
2009-05-15Heart surgery on asset service code bits. Affects OpenSim.ini configuration ↵diva1-1/+1
-- please see the example. Affects region servers only. This may break a lot of things, but it needs to go in. It was tested in standalone and the UCI grid, but it needs a lot more testing. Known problems: * HG asset transfers are borked for now * missing texture is missing * 3 unit tests commented out for now
2009-05-12* Adds ScenePresence.TeleportWithMomentum - same as .Teleport, but preserves ↵Adam Frisby1-0/+18
velocity.
2009-05-04Add a method to flush the prim update buffers once a frame, since the timerMelanie Thielker1-0/+2
appear to be too slow to be useful, or fail too fire. I may remove the timers as a consequence if this.
2009-05-01Add a tweakable for the prim queue preloadMelanie Thielker1-9/+9
2009-05-01Throttle prim sending a bit (again) to ensure the queues don't overrun andMelanie Thielker1-2/+2
clog
2009-05-01Add methods to block and queue agent updates during region crossing and TPMelanie Thielker1-0/+43
This is to ensure integrity of animations and script states with regard to controls pressed or released. No user functionality yet.
2009-05-01Send the animations of all already present avatar to an avatar entering a simMelanie Thielker1-0/+6
to stop the "folded legs" on simcross
2009-05-01Improve prim sending by combining multiple prim updates into a single packetMelanie Thielker1-2/+2
2009-04-30Thank you, mpallari, for a patch that increses efficiency by combiningMelanie Thielker1-1/+1
avatar updates into a single packet. Applied with changes. Fixes Mantis #3136
2009-04-21Thank you kindly, MPallari for a patch that:Charles Krinke1-2/+31
This patch adds few properties to ScenePresence and thus allows region module or MRM script: 1. Force flying for avatar or, 2. Disable flying from avatar
2009-04-19Thank you kindly, MPallari, for a patch that:Charles Krinke1-1/+9
This patch adds new property to ScenePresence: SpeedModifier. With this, one can modify avatars speed from region module or MRM script.
2009-04-17Thank you M1sha for diagnosing and patching a lock bug affecting region ↵diva1-13/+16
crossings introduced in r9110. Fixes mantis #3456.
2009-04-15Prevent a nullref when no script engines are loadedMelanie Thielker1-0/+3
2009-04-14* Commit a variety of fixes to bugs discovered while trying to fix the NaN ↵Teravus Ovares1-22/+30
singularity. * WebStatsModule doesn't crash on restart. GodsModule doesn't crash when there is no Dialog Module. LLUDPServer doesn't crash when the Operation was Aborted. * ODEPlugin does 'Almost NaN' sanity checks. * ODEPlugin sacrifices NaN avatars to the NaN black hole to appease it and keep it from sucking the rest of the world in.
2009-04-12Fix a regression where animations would only be sent if the avatar hasMelanie Thielker1-1/+1
attachments. Convert base types to LSL types for event marshalling through IScriptModule to avoid parameter errors.
2009-04-11Adding a script event, changed(CHANGED_ANIMATION)Melanie Thielker1-1/+22
This is sent to all root prims of all attachments of an avatar when the animation state changes. llGetAnimation() can thenbe used to find the new movement animation. This eliminates the need for fast timers in AOs
2009-04-06Added some null-checks to Intimidated's patch in r9024.Homer Horwitz1-5/+5
Hopefully fixes Mantis #3415.
2009-04-06Applying Intimidated's patch to fix anim handling.Melanie Thielker1-6/+24
Fixes Mantis #3417
2009-04-06Thank you, Intimidated, for a patch too fix the movement animation handlingMelanie Thielker1-43/+183
Fixes Mantis #3413
2009-04-03* Fixes issue where of you force your avatar against a region corner, it ↵Arthur Valadares1-6/+64
gets stuck and NonFinite Avatar messages floods console Addresses Mantis #3380