aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Physics (unfollow)
Commit message (Collapse)AuthorFilesLines
2014-01-10Fix crash in BulletSim which sometimes happens making a linkset physicalRobert Adams1-7/+32
(like sitting on and activating a vehicle) and crossing borders. This keeps better bookkeeping on compound shapes so BulletSim can identify them when being freed.
2013-12-14Fix TestSitAndStandWithNoSitTarget NPC and SP tests.Justin Clark-Casey (justincc)1-8/+1
These stopped working because current code calculates sit heights based on avatar physics rather than appearance data. Also changed BasicPhysics to not divide Z param of all set sizes by 2 - there's no obvious good reason for this and basicphysics is only used in tests
2013-12-06apparently mono DeflateStream has no CopyTo method =(dahlia1-1/+5
2013-12-06use System.IO.Compression.DeflateStream for mesh decompression in an attempt ↵dahlia1-9/+5
to reduce mesh asset decoding failures
2013-11-01add null check for jpeg2000 sculpt image decode failure. Note: the ↵dahlia1-0/+9
j2kDecodeCache folder should be cleared after updating to this revision so that sculpts containing alpha can be re-decoded and successfully meshed.
2013-11-01discard alpha in 4-plane sculpt textures before generating physics proxy meshdahlia1-12/+7
2013-10-26BulletSim: update collision flags to make sure they fit in the shorts provided.Robert Adams1-7/+7
2013-10-23BulletSim: change collision flags for groundplane to not interact with ↵Robert Adams4-7/+13
static objects. Reorder collision flag setting code for terrain to fit pattern used elsewhere.
2013-10-15BulletSim: implement the SL bug where VEHICLE_HOVER_UP_ONLY disablesRobert Adams1-0/+12
the vehicle buoyancy if the vehicle is above its hover height. This is a known misfeature of this vehicle flag which has been accepted since it would break too many implementations. The problem is noticed when creating a jetski-like vehicle that jumps over sand bars. A boat normally is configured with neutral buoyancy and hovering at water height. When it jumps the sandbar, it needs to have gravity applied to get back to water level.
2013-10-11BulletSim: Fix snap back from edge of region problem. Mantis 6794.Robert Adams1-2/+13
2013-10-04Bump OPenSimulator version and assembly versions up to 0.8.0 DevJustin Clark-Casey (justincc)7-7/+7
2013-09-20BulletSim: reduce avatar walking stopped threshold.Robert Adams2-0/+4
Add parameter for setting the walking stopped threshold. This fixes the slight jump when an avatar stops walking.
2013-09-20BulletSim: zero velocity when avatar not moving.Robert Adams1-0/+1
This fixes a movement jitter that happens when an avatar is standing on a tilted surface.
2013-09-11BulletSim: remove collision cache clearing logic for physical objects.Robert Adams1-2/+5
This fixes constraints from getting messed up when properties change.
2013-09-11BulletSim: add ClearCollisionProxyCache function to API.Robert Adams4-2/+35
Add proxy cache clearing when some properties are changed. This fixes a problem where objects would stop colliding of they were moved with setPosition mulitple times.
2013-09-11BulletSim: add LSL function and plumbing for setting a springRobert Adams3-2/+37
equilibrium point in the physics engine constraint.
2013-09-11BulletSim: add extended physics LSL constants for axis specification.Robert Adams2-35/+60
Add specific error warnings for mis-matched parameter types in extended physics functions.
2013-09-11BulletSim: ability to specify groups of axis to modify in constraint ↵Robert Adams1-8/+45
parameters that control multiple axis. Add useLinearReferenceFrameA constraint parameter.
2013-09-11BulletSim: add axis parameter for specifying enable, damping, and stiffness ↵Robert Adams3-17/+38
for spring constraints. Renumber parameter ops since I can as no one is using them yet.
2013-09-11BulletSim: implementation of setting spring specific physical parameters. ↵Robert Adams3-35/+76
Add setting of linkset type to physChangeLinkParams. Lots of detail logging for setting of linkset constraint parameters.
2013-09-11BulletSim: add requestor's ID to post taint detail log message.Robert Adams1-2/+3
2013-09-11BulletSim: pass both root and child BSPhysObjects to Extension function. ↵Robert Adams2-22/+24
Update routines to use the new parameters list from above change.
2013-09-11BulletSim: add ID parameter to TaintedObject calls so logging will include ↵Robert Adams8-70/+89
LocalID of object which created the taint.
2013-09-11BulletSim: Extension parameters passed through the classes made to pass just ↵Robert Adams4-30/+80
and array of objects rather than a mixture of parameters and array. Makes understanding and parsing what is being passed much easier.
2013-09-11BulletSim: adjust avatar capsule height calculation to be closer to defined ↵Robert Adams2-7/+12
SL heights. Correct BSParam avatar height defaults to be what's in OpenSimDefaults.ini.
2013-09-11BulletSim: add extended physics function physGetLinkType(linkNum). Add ↵Robert Adams3-23/+144
implementation of physChangeLinkParams() in BSLinksetConstraint.
2013-09-11BulletSim: change ExtendedPhysics constants to 'const' so they can be used ↵Robert Adams1-0/+22
as case variables in switch statements.
2013-09-11BulletSim: add physChangeLinkParams to set individual parameters on link ↵Robert Adams5-73/+153
constraints. Not fully functional. Remove double definition of ExtendedPhysics parameters by having BulletSim reference the optional module (addition to prebuild.xml and usings).
2013-09-11BulletSim: update C++ HACD parameters to values that handle enclosed hollow ↵Robert Adams1-8/+8
spaces better. This shouldn't affect many since this HACD routine is off by default.
2013-09-11BulletSim: add physChangeLinkSpring to change linkset link to be a spring ↵Robert Adams4-11/+128
constraint. Add implementation to create spring constraint. Send up property updates for linkset children at the end of flexible linkset links. The simulator probably doesn't do the right thing yet.
2013-09-11BulletSim: Linkset.Refresh() calls internal ScheduleRebuild() to recreate ↵Robert Adams2-14/+14
the linkset physics at next PostTaint time. Replace the existing calls to ScheduleRebuild to be calls to Refresh(). This allows external routines to make changes to parameters and then cause the linkset to rebuild.
2013-09-11BulletSim: initial implementation of physChangeLinkFixed that resets a ↵Robert Adams2-9/+24
linkset's link back to a fixed, non-moving connection.
2013-09-11BulletSim: move linkset extension operations into BSPrimLinkable where they ↵Robert Adams2-31/+42
should be.
2013-09-11BulletSim: add unmanaged and XNA functions for hinge, slider and spring ↵Robert Adams3-2/+241
constraints.
2013-09-11BulletSim: complete linkage of spring constraint into linkset constraint.Robert Adams3-15/+77
2013-09-11BulletSim: add spring constraint to linkset constraint types.Robert Adams1-0/+85
2013-09-11BulletSim: add API and calls for spring constraint parameters.Robert Adams3-0/+82
2013-09-11BulletSim: fixes for change linkset implementation of physical linksets.Robert Adams4-17/+22
2013-08-27BulletSim: add some protections for processing when shutting down.Robert Adams1-2/+2
Attempt to fix Mantis 6740 (http://opensimulator.org/mantis/view.php?id=6740).
2013-08-20* Fix some threading issues in BulletXNA (the managed bullet library), this ↵teravus1-1/+45
should better allow you to run it in multiple region scenarios (but why would you really want to do that?) Source in OpenSimLibs. * Fixed a null ref during shutdown.
2013-08-14BulletSim: include check for volume detect in check for zeroing avatar motion.Robert Adams2-2/+6
Normally, avatar motion is zeroed if colliding with a stationary object so they don't slide down hills and such. Without volume detect check this also allowed avatars to stand on volume detect objects and to have some jiggling when they were in the volume detect object. This commit fixes both.
2013-08-14BulletSim: add physical object initialized flag so updates and collisionsRobert Adams5-5/+23
don't happen until the object is completely initialized. This fixes the problem of doing a teleport while the simulator is running. The destruction of the physical object while the engine is running means that the physics parameter update would overwrite the new position of the newly created avatar.
2013-08-13BulletSim: move the creation of the avatar movement actor creating toRobert Adams1-7/+7
taint time. Attempt to fix a problem of teleporting within the same region where the remove and addition of the physical avatar occasionally ends up with a non-moving avatar.
2013-08-12BulletSim: add check in avatar stair step code to verify the collisionRobert Adams4-13/+26
is not with a volume detect object. This fixes a problem of avatars trying to step over a volume detect object that they collide with. This appeared as the avatar popping up as it started to step up but then continuing on since the object wasn't physically interacting.
2013-08-08BulletSim: adjust avatar position when the avatar's size is changed.Robert Adams2-4/+12
This fixes the problem of avatars bouncing when logged in. Added a little height to the avatar height fudges to eliminate a problem of feet being in the ground a bit.
2013-08-02BulletSim: When converting linkset types, don't try to change the listRobert Adams1-9/+20
of linkset children while iterating through the list.
2013-08-02BulletSim: add implementation of 'physSetLinksetType' and 'physGetLinksetType'Robert Adams8-2/+99
and processing routines in BulletSim. Add linkset rebuild/conversion routine in BSLinkset.
2013-08-02BulletSim: add BSLinkInfo structure to remember link specific informationRobert Adams3-86/+174
for each link in a linkset. Extend BSLinksetConstraint to create and use BSLinkInfo with the default static constraint.
2013-07-30BulletSim: distribute vehicle physical settings to all members ofRobert Adams3-43/+61
a linkset. Enables constraint based linksets. Rename some internal variables to clarify whether values world or vehicle relative.
2013-07-30BulletSim: make density display and return value consistant with howRobert Adams3-8/+22
the simulator expects it (scaled to 100kg/m^3).