aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Physics (unfollow)
Commit message (Collapse)AuthorFilesLines
2012-02-21Reverse the changed to ODE heightmap. It results in SERIOUS issues like anMelanie1-4/+4
irreversible y-flip and holes in the map.
2012-02-21Load 32-bit or 64-bit BulletSim Windows library automatically as appropriate.Justin Clark-Casey (justincc)1-0/+3
This uses the same approach as ODE. radams, if this doesn't work for you please feel free to revert.
2012-02-21Add 64 bit Windows sqlite3.dll and use this if running a 64-bit windows process.Justin Clark-Casey (justincc)1-14/+1
2012-02-21Remove PhysXPlugin and wrappers.Justin Clark-Casey (justincc)5-1001/+0
In over 4 years this never progressed beyond an unimplemented stub. This doesn't mean that it can't come back if someone is interested in implementing PhysX support.
2012-02-19minor fix to chODE terrain heighmap scaleUbitUmarov1-4/+4
2012-02-18changed how vehicle data is stored and passed to physics. use unsafe in ↵UbitUmarov4-59/+347
serializer, tried to control m_dupeInProgress
2012-02-18Report an error if the required native Windows ODE library can't be found.Justin Clark-Casey (justincc)1-1/+4
2012-02-18On Windows automatically load the correct native ODE library depending on ↵Justin Clark-Casey (justincc)2-3/+24
whether the process is 32-bit or 64-bit In theory, this means that a 64-bit Windows OS user can now run OpenSim.exe with ODE and use more than 2 (or 3) GB of memory. However, this is completely untested since I don't currently own a 64-bit Windows box. Feedback appreciated. Using OpenSim.32BitLaunch.exe should continue to work. Other platforms are unaffected. This will currently not work with sqlite - I will add that too if this works.
2012-02-17Added simple binary serializer/deserializer to chODE. 100% untested and most ↵UbitUmarov5-1035/+1540
like still broken
2012-02-16Comment out "experimental" log message printed out whenever a physics mesh ↵Justin Clark-Casey (justincc)1-2/+2
was generated for a mesh Also adds prim name to the "no asset data" error log message
2012-02-15Now if chode prim.cs detects out of bounds it requests a update and blocks ↵UbitUmarov2-20/+45
movement and colisions. Base code must do a PhysActor.CrossingFailure() to make it move again inside sim or delete it.
2012-02-15don't freeze with a sitted avatar in a border without other sim. Still messy :(UbitUmarov1-2/+2
2012-02-15Now if chode prim.cs detects out of bounds it requests a update and blocks ↵UbitUmarov2-20/+45
movement and colisions. Base code must do a PhysActor.CrossingFailure() to make it move again inside sim or delete it.
2012-02-15don't freeze with a sitted avatar in a border without other sim. Still messy :(UbitUmarov1-2/+2
2012-02-15 try to make crossings work better. chode no longer prevents crossings i hopeUbitUmarov1-6/+50
2012-02-15 try to make crossings work better. chode no longer prevents crossings i hopeUbitUmarov1-6/+50
2012-02-11 remove drawstuff from ubitodeUbitUmarov4-256/+1
2012-02-11 removed outdated coments.UbitUmarov1-630/+0
2012-02-11 remove forgotten taints codeUbitUmarov1-32/+0
2012-02-11UbitODE: replace 'taints' by 'changes' for avatars also. This provides ↵UbitUmarov3-250/+378
better time order with changes in prims.
2012-02-11 vehicle changes done by simulation thread and not calling oneUbitUmarov2-132/+200
2012-02-11 changes to vehicle bankingUbitUmarov1-69/+23
2012-02-11a bit better vertical attractor and bankingUbitUmarov1-12/+23
2012-02-11Use mesh to estimate real center of prims if avaiable. Let sculpt map ↵UbitUmarov5-33/+129
textures with alpha channel work. On linux J2DecodeCache folder must be deleted to remove bad entries. Corrently this can't be cached on linux (mono/ cairo/? problem)
2012-02-11 scale avatar push force with avatar densityUbitUmarov1-1/+2
2012-02-11correct the default avatar_terminal_velocity value that I accidentally left ↵Justin Clark-Casey (justincc)1-1/+1
in whilst testing
2012-02-11Clamp ODE character velocity. Make ODE falling character 54m/s by default.Justin Clark-Casey (justincc)2-1/+53
If velocity reaches 256 in any vector then bad things happen with ODE, so we now clamp this value. In addition, a falling avatar is clamped by default at 54 m/s, which is the same as a falling skydiver. This also appears to be the value used on the linden lab grid. This should resolve http://opensimulator.org/mantis/view.php?id=5882
2012-02-10test on gitUbitUmarov4-0/+4
2012-02-10 Changes to vehicles code etc. Includes some debug aids to remove later.UbitUmarov4-243/+145
2012-02-08initial introdution of physics actor building control.UbitUmarov1-1/+1
2012-02-08 changes in physics manager, needed for UbitODEUbitUmarov2-1/+28
2012-02-08UbitODE plugin initial commitUbitUmarov10-0/+11556
2012-01-25Update BulletSim.dll with some interface changes and tuning (see ↵Robert Adams2-6/+31
opensim-libs). Change BSScene to use new interface.
2012-01-25Serialize calls to ODE Collide() function across OdeScene instances to ↵Justin Clark-Casey (justincc)2-1/+32
prevent ODE crashes on simulators running more than one region. It turns out that calls to Collide() are not thread-safe even for objects in different ODE physics worlds due to ODE static caches. For simulators running multiple regions, not serializing calls from different scene loops will sooner or later cause OpenSim to crash with a native stack trace referencing OBBCollider. This affects the default OPCODE collider but not GIMPACT. However, GIMPACT fails for other reasons under some current simulator loads. ODE provides a thread local storage option, but as of ODE r1755 (and r1840) DLLs compiled with this crash OpenSim immediately.
2012-01-24Restrict accessible of ODECharacter Shell and Body. Add method doc and some ↵Justin Clark-Casey (justincc)2-12/+27
error log lines.
2012-01-02Adding commented out log messages and some minor formatting for future bug ↵Justin Clark-Casey (justincc)1-0/+1
hunting. No functional changes.
2011-12-24Add setter for Acceleration on physics objects.Melanie2-0/+2
2011-12-22Align default ODE_STEPSIZE with that already used through OpenSimDefaults.iniJustin Clark-Casey (justincc)1-2/+2
2011-12-20Remove unused SetAcceleration and add set on Acceleration parameterDan Lake10-34/+13
2011-12-20Remove unused SetAcceleration and add set on Acceleration parameterDan Lake10-34/+13
2011-12-20Fixed bug of avie going under the terrain when crossing regions in certain ↵Diva Canto1-2/+2
directions. This was a 1-off bug: the terrain was being placed in 127, 127 resulting in a bounding box if -2, 256. I placed it in 128, 128 resulting in a bounding box of -1, 257.
2011-12-16Comment out accidentally left in "Adding physics prim" log messageJustin Clark-Casey (justincc)1-1/+1
2011-12-15Stop pointlessly setting the m_colliderarr[] to false in the ODECharacter ↵Justin Clark-Casey (justincc)1-5/+0
constructor
2011-12-15Stop having to call SetHeight again in ScenePresence.AddToPhysicalScene() ↵Justin Clark-Casey (justincc)3-18/+25
when we've already passed size information to the avatar at PhysicsScene.AddAvatar() Eliminate some copypasta for height setting in OdeCharacter
2011-12-15Code cleanup related to ScenePresence.PhysicsActor and OdeScene/OdeCharacterJustin Clark-Casey (justincc)2-8/+24
Stop hiding RemoveAvatar failure, add log messages when characters are removed through defects or re-added unexpectedly. Add commented out log lines for future use. Use automatic property for PhysicsActor for better code readability and simplicity
2011-12-14minor: add some currently commented log lines for use in debuggingJustin Clark-Casey (justincc)1-1/+8
2011-12-14Simplify some manipulation of _taintedActors in OdeSceneJustin Clark-Casey (justincc)1-13/+6
2011-12-14Eliminate _taintedPrimsH and _taintedPrimsL (and _taintedPrimLock) in favour ↵Justin Clark-Casey (justincc)1-45/+14
of just a _taintedPrims HashSet. There's no point maintaining a list because any pending taint operations are all carried out in the same call anyway.
2011-12-12minor: remove pointless comment from OdeScene.csJustin Clark-Casey (justincc)1-2/+1
2011-11-29minor: remove mono compile warning, a Vector3 can never be null since it's a ↵Justin Clark-Casey (justincc)1-9/+6
struct