aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Physics/OdePlugin/ODECharacter.cs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Resolve merge commits, stage 1Tom2011-09-041-3/+15
|\
| * If SP.MoveToTarget has been called with a force walk, begin by landing the ↵Justin Clark-Casey (justincc)2011-08-111-1/+5
| | | | | | | | | | | | avatar. There is a bug here - once an avatar has landed it glides to its new position instead of performing a walk animation
| * Add a OS_NPC_LAND_AT_TARGET option to osMoveToTarget()Justin Clark-Casey (justincc)2011-08-101-0/+2
| | | | | | | | | | | | | | Default for this function is now not to automatically land. This allows better control by scripts when an avatar is going to be landing on a prim rather than the ground. Stopping the avatar involves faking a collision, to avoid the pid controller making it overshoot. A better approach would be to gradually slow the avatar as we near the target
| * minor: remove mono compiler warnings, some code spacing adjustmentsJustin Clark-Casey (justincc)2011-07-301-1/+4
| |
| * minor: Add method doc to collision subscription methods. Change method case ↵Justin Clark-Casey (justincc)2011-07-301-2/+5
| | | | | | | | to reflect OpenSim standards.
* | Merge branch 'master' into careminster-presence-refactorMelanie2010-12-251-0/+5
|\ \ | |/
| * This fixes mantis #5198 and related. Physics is not my expertise, so I'm not ↵Diva Canto2010-12-241-0/+5
| | | | | | | | 100% sure of what all the consequences of this change are. Pushing up, so others can take a look.
* | Resolved mergeKitto Flora2010-03-121-7/+2
|\ \
| * \ Merge branch '0.6.9-post-fixes' into careminsterMelanie2010-03-061-0/+5
| |\ \ |/ / / | | _
| * Revolution is on the roll again! :)Revolution2010-02-141-0/+5
| | | | | | | | | | | | | | | | Fixes: Undo, T-pose of others on login, modifiedBulletX works again, feet now stand on the ground instead of in the ground, adds checks to CombatModule. Adds: Redo, Land Undo, checks to agentUpdate (so one can not fall off of a region), more vehicle parts. Finishes almost all of LSL (1 function left, 2 events). Direct flames and kudos to Revolution, please Signed-off-by: Melanie <melanie@t-data.com>
* | Add glue for llSetVehicleFlags(), llRemoveVehicleFlags(). ChODE: Add ↵Kitto Flora2010-01-211-0/+10
| | | | | | | | associated methods.
* | Fix conflictsKitto Flora2009-12-221-1/+0
|\ \
| * \ Merge branch 'master' into careminsterMelanie2009-12-221-2/+0
| |\ \ | | |/
| | * Glue code for a couple of new LSL function implementationsMelanie2009-12-221-0/+9
| | |
* | | Include ChOdePluginKitto Flora2009-12-221-17/+4
|/ /
* | Merge branch 'master' into careminsterMelanie2009-12-051-1/+4
|\ \ | |/
| * * Fixes mantis 4416. Animator is dereferenced on logoutTeravus Ovares (Dan Olivares)2009-12-051-1/+4
| |
* | Merge branch 'careminster' into testsKittoFlora2009-11-161-2/+2
|\ \ | |/
| * * Log progress messages when loading OAR files with a lot of assetsJohn Hurliman2009-10-291-2/+2
| | | | | | | | | | * Change the PhysicsCollision callback for objects to send full contact point information. This will be used to calculate the collision plane for avatars * Send the physics engine velocity in terse updates, not the current force being applied to the avatar. This should fix several issues including crouching through the floor and walking through walls
* | Merge branch 'vehicles' into testsKittoFlora2009-10-271-61/+52
|\ \ | |/ | | | | | | | | | | Conflicts: OpenSim/Region/Physics/Manager/PhysicsActor.cs OpenSim/Region/Physics/OdePlugin/ODEPrim.cs
| * Experimental change of PhysicsVector to Vector3. UntestedJohn Hurliman2009-10-261-61/+52
| |
* | Add llRotLookat pt1.KittoFlora2009-10-261-0/+22
|/
* * Removing ODEPrim and ODECharacter GetHashCode() overrides since they were ↵John Hurliman2009-10-201-5/+0
| | | | | | based on something that could change * Tweaked a few other GetHashCode() overrides to bring them in line with MSDN recommendations
* A bit of instrumentation to figure out what's going on with physics actors.Diva Canto2009-10-181-1/+8
|
* * One more attempt at the NullRef In The OdePlugin. This might fix it, but ↵Teravus Ovares (Dan Olivares)2009-10-161-1/+1
| | | | it will definitely get us closer to the root cause.
* * Added a message for when the null reference exception occurs to make ↵Teravus Ovares (Dan Olivares)2009-10-161-3/+4
| | | | debugging easier. Without this, from the user's perspective.. they cannot move, fly or otherwise do anything physical and without a message on the console, it would be hard to tell that this is what is occurring.
* * A hacky attempt at resolving mantis #4260. I think ODE was unable to ↵Teravus Ovares (Dan Olivares)2009-10-161-2/+22
| | | | | | allocate memory, and therefore the unmanaged wrapper call fails or worse.. there's some unmanaged resource accounting in the ODEPlugin for ODECharacter that isn't being done properly now. * The broken avatar may not be able to move, but it won't stop simulate from pressing on now. And, the simulator will try to destroy the avatar's physics proxy and recreate it again... but if this is what I think it is, it may not help.
* * comment out the velocity test, using updates every 500 ms as set in ↵Teravus Ovares (Dan Olivares)2009-10-101-0/+3
| | | | | | | ScenePresence.AddToPhysicalScene. * This causes time to be counted in ODECharacter and, when a collision occurs, the physics scene will report the collisions only if the the difference of last time it reported the collisions from now was more then the set ms. * This is cool because the time accrues while collisions are not taking place and when they do take place again, you get an immediate update.
* * Make ODECharacter respect the scene's requested collision update timeTeravus Ovares (Dan Olivares)2009-10-101-2/+13
| | | | * Set the Scene collision update time to 500 ms
* Alternate algorithm for fixing avatar capsule tilt (Mantis #2905)nlin2009-09-181-60/+72
| | | | | | | | | | | | | 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.
* Thank you, dslake, for a set of patches to improve OpenSim startupMelanie2009-09-021-0/+5
| | | | and idle performance.
* Merge branch 'master' of ssh://MyConnection/var/git/opensimTeravus Ovares (Dan Olivares)2009-08-261-4/+0
|\
| * Formatting cleanup, minor refactoring.Jeff Ames2009-08-261-4/+0
| |
* | * Some Physics Scene Changes to prepare for larger regionsTeravus Ovares (Dan Olivares)2009-08-181-3/+3
|/
* This is the second part of the 'not crash on regionsize changes'. This ↵Teravus Ovares (Dan Olivares)2009-08-071-1/+1
| | | | 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.
* * Remove hard coded 256 limitations from various places. There's no more ↵Teravus Ovares (Dan Olivares)2009-08-071-2/+2
| | | | 256m limitation within the OpenSimulator framework, however, the LLClient ClientView does not support regions larger then 256 meters so, if you try and make your region larger by setting Constants.RegionSize = 512; in OpenSim.Framework.Constants.cs, the terrain will not display on clients using the LLUDP protocol
* Revert the nonessential part of r10033 to restore sanity to trampolinesMelanie Thielker2009-07-161-4/+6
|
* * Tweaking collision reporting a little more in ScenePresence to not check ↵Teravus Ovares2009-07-161-2/+2
| | | | if the collisions will affect health if the avatar is invulnerable. (saves 3 loops)
* Fix for avatar falling through terrain when av_capsule_tilted=false, Mantis ↵nlin2009-07-151-8/+78
| | | | | | | | | | | | | | | | | #2905 This fix re-introduces a small tilt into the capsule to prevent avatar falling through terrain. Re-introduction of the tilt means that some direction-dependent behavior when walking over prims, but I have tried to minimize this. Additionally this commit allows the capsule to wobble slightly when being pushed around the terrain. This should make walking over prims easier, as the capsule can wobble and glide diagonally over the prim's edge, instead of rigidly being stopped vertically against the prim's face.
* Thank you, Twitch, for a patch to restore mayhem and murder to OpenSimMelanie Thielker2009-07-141-6/+6
| | | | | | Fixes Mantis #3888
* Experimental fix for tilted avatar capsule, Mantis #2905nlin2009-07-081-7/+26
| | | | | | | | | | | | | | | | | | | | | | | Set av_capsule_tilted to false in opensim.ini. Default is true, so there is no change in avatar behavior (and no breaking of existing content which relies on the tilted capsule). This commit straightens up the avatar capsule so it behaves consistently (e.g. same collision behavior against prims regardless of which direction the avatar is coming from; ability to fit through narrow doorways). Please note this introduces other side effects which have not been fixed. In particular: * The avatar frequently falls through the terrain if it is not flat, though the avatar behaves pretty well on flat terrain. This requires investigation of the ode terrain collider. * The apparent foot position of the avatar with respect to the ground is changed. This requires investigation of the avatar height/capsule height. Please consider this as work in progress.
* - fixes a "collection out of sync" exception in the ODE physicsDr Scofield2009-06-251-3/+9
| | | | | | | engine, caused by an "avatar infinite position" occurring under heavy load. - fixes "value too small" exception in ChatModule
* Formatting cleanup.Jeff Ames2009-06-101-2/+2
|
* Minor: Change OpenSim to OpenSimulator in older copyright headers and ↵Jeff Ames2009-06-011-1/+1
| | | | LICENSE.txt.
* * Rudimentary angular motor implementation for the LSL Vehicle APITeravus Ovares2009-04-191-1/+5
|
* * Commit a variety of fixes to bugs discovered while trying to fix the NaN ↵Teravus Ovares2009-04-141-11/+100
| | | | | | | | | 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.
* * Added finite testing to the character and object constructorTeravus Ovares2009-04-071-4/+17
|
* * Added a routine to check if a PhysicsVector and Quaternion is finiteTeravus Ovares2009-04-071-25/+65
| | | | | | * Now validating input to the Physics scene and warning when something is awry. * This should help nail down that Non Finite Avatar Position Detected issue.
* * Fixing thread safety of avatar adding and removing from the Physics Scene ↵Teravus Ovares2009-03-301-1/+3
| | | | | | | in the ODEPlugin * This may help one of the symptoms or mantis 3363 , however it probably won't solve the occasional NonFinite Avatar Position detected.. issues that some people see. That is probably an entirely different issue(NaN).
* * Making the minimum ground offset for flying a configurable offset in the ↵Teravus Ovares2009-03-071-5/+8
| | | | | | | OpenSim.ini. This is the code that causes you to rise off the ground when you press the fly button and attempts to keep you above ground automatically when flying in a simulator. * minimum_ground_flight_offset, by default is 3 meters, as per Kitto Flora See OpenSim.ini.example for an example.