Commit Graph

27922 Commits (057bc648f3c30d3a82e075749eb0be1f33568084)

Author SHA1 Message Date
Robert Adams 66be75556b BulletSim: increase default value of AvatarStopZeroThreshold as this reduces
the occurance of stopped avatar drifting in the viewer. Not sure why but this
is a short term fix while investigation continues.
2016-01-20 06:35:53 -08:00
Robert Adams 33af419050 BulletSim: make collision sounds work most of the time. Seems that collisions
usually stop  the collider so velocity is often small.
Also remove some chatty debug messages.
2016-01-19 22:09:51 -08:00
Robert Adams ddd59fab5f BulletSim: add stationary suppression on AddForce application. This enables
small pushing of avatars (Mantis 7779).
2016-01-18 10:50:28 -08:00
Robert Adams 5ed90b3921 BulletSim: fix problem of not zeroing motion when stationary (drift problem from
Mantis 7813). Redo Z computations for movement. Clean up code to simplify
tests. Add function to suppress stationary tests unless velocity drops.
2016-01-18 10:48:10 -08:00
Robert Adams 35d4298be6 BulletSim: change method signatures for internal AddForce methods to remove
confusion about push forces. The latter is an external, physics engine interface
feature (the force parameter has a different unit if pushing vs adding force)
and that distinction is not used internally.
2016-01-18 07:02:48 -08:00
Robert Adams fb57d31538 BulletSim: revert avatar stationary testing for having slight velocity.
This fix causes drift (Mantis 7813). This revision will rebreak pushing
(Mantis 7779) but drifting is bad and pushing will be fixed in future commits.
2016-01-18 07:00:50 -08:00
Robert Adams b02f29300d Code cleanup to terse update sending as given in a patch in Mantis 7813.
Thanks tqlion!
2016-01-18 06:58:41 -08:00
Robert Adams 22501ea06d BulletSim: fix Mantis 7798: land collisions not working. 2016-01-10 16:42:23 -08:00
Robert Adams d4e88f8883 BulletSim: tweaking so avatar can be pushed. In particular, llPushObject,
which called BSCharacter.AddForce, can now move a character.
2016-01-10 14:53:55 -08:00
UbitUmarov 151001c70b change muckwaddle name contributors.txt 2016-01-10 18:26:53 +00:00
UbitUmarov 6d112948fb update contributors.txt 2016-01-10 18:24:24 +00:00
TomDataworks 905dec5d23 Fix region data range selection in the PGSQL backend.
Signed-off-by: UbitUmarov <ajlduarte@sapo.pt>
2016-01-10 18:05:08 +00:00
UbitUmarov ee15c51ba4 add npc create option OS_NPC_OBJECT_GROUP. with it the npc will be created with the group of the object with the script, if that object owner is member of that group. This should allow parcel access by group to work now, and not much else. The groupTitle will also be set, it the region option NoNPCGroup is not active. 2016-01-01 23:41:25 +00:00
UbitUmarov f8f28311bf stop avatar move to target on parcel ban enforce 2016-01-01 23:03:46 +00:00
Robert Adams 7831d219d7 Add locking around stats record fetch to resolve Mantis 7793. 2015-12-27 15:05:17 -08:00
UbitUmarov e2517b51f8 ubMeshmerizer: remove some wrong faces still present in taper cases, some code cleanup 2015-12-26 21:38:36 +00:00
UbitUmarov 6427930a7e ODE lib: update the lib for linux 32bit and 64bit, this time without debug info. Thnx again Dan. (keep older close in case this fails 2015-12-26 02:29:53 +00:00
UbitUmarov 74c48d495b ODE lib: update the lib for linux 32bit. Thnx Dan. (keep older close in case this fails 2015-12-26 01:55:13 +00:00
UbitUmarov f92deb65f8 fix cilinder and cone physics mesh 2015-12-26 01:49:30 +00:00
UbitUmarov 073877dcae ODE lib: update the lib for linux 64bit. Thnx Dan. (keep older close in case this fails 2015-12-25 19:33:38 +00:00
UbitUmarov 14250c3d84 ODE lib change: fix capsule - mesh faces double side collisions. Do double side collisions if at least two dimensions of the mesh are 1.5x the capsule height, otherwise do single side as before. SL and bullet do double Side always. Double side can cause instabilities in some cases. i only windows dev enviroment for the moment. to build for your enviroment: git clone git://opensimulator.org/git/opensim-libs. This maybe be very broken, let us know 2015-12-25 17:43:20 +00:00
UbitUmarov 65269f6f7f fix html encapsulation for MSIE was doing nothing 2015-12-25 14:34:02 +00:00
UbitUmarov 85a75ce0bc assume direct string.replace is good enought to avoid a stringbuild use 2015-12-25 14:16:47 +00:00
UbitUmarov 41078f8d51 try to implement HTTP_BODY_MAXLENGTH. Make it limit body input bytes. Read entire relevant input buffer before UTF-8 parsing, or it may fail. 2015-12-25 13:51:05 +00:00
UbitUmarov e5f7856eaf Merge branch 'master' of opensimulator.org:/var/git/opensim 2015-12-25 10:44:59 +00:00
UbitUmarov b7ea5c4967 a few code cosmetic changes 2015-12-25 10:43:51 +00:00
Diva Canto 52ebb3f2fb The configger tool hadn't been updated since the introduction of OpenSimDefaults! :0
It is updated now.
2015-12-24 10:05:59 -08:00
UbitUmarov 7430c629aa enable the upload region map texture asset for large regions for large regions that i had disabled, but with max size reduced to 512pixels. New viewers don't use this, but osGetRegionMapTexture needs it ( mantis 7787 ) 2015-12-24 11:20:46 +00:00
UbitUmarov 37cb24da60 add prim estimated center of mass correction also for tortured prims meshs. Not fully tested 2015-12-24 01:21:15 +00:00
UbitUmarov 24aa529715 fix avatar movetotarget that got broken with changes on significant movement. Do it all on scenepresence.cs, and not also on scene.cs. check distance to target only on X,Y if not flying or landing 2015-12-23 21:22:00 +00:00
UbitUmarov 5135214e5b physics landing: don't land on top of volume detectors 2015-12-22 13:23:08 +00:00
UbitUmarov 6437a94388 a few changes to physics new root avatar position height estimation 2015-12-22 00:06:17 +00:00
UbitUmarov 88a63ecc39 drop attachments to ground a bit in front of the avatar, not on his location 2015-12-21 18:13:07 +00:00
UbitUmarov 7081ef948c clean a bit 2015-12-21 17:56:12 +00:00
UbitUmarov 4b14ec3c45 add physics help on root agent arrival via some login types and if not under action of telehub or landpoint. will change land to the top of anything physics sees above ground up to 1024m above ground. Only works with ubOde (possible ode but untested). Feature testing... some results may be ugly. 2015-12-21 16:31:49 +00:00
UbitUmarov 0e99763e6b revert the setting of phantom flag on attachment drop to ground, since it can break nomod objects 2015-12-21 13:52:45 +00:00
UbitUmarov 52d7aca6a2 simplify avatar updates throotle control, this possible needs to get more complex again 2015-12-21 13:20:24 +00:00
UbitUmarov 827058e359 drop attachments to ground with phantom active. We should not do this, but for now there no better way to avoid nasty collisions. (large physical objects may still have bad collisions with ground on drop) 2015-12-20 11:57:52 +00:00
UbitUmarov 844266c4d5 change the return list of objects costs, sending a answer if none found 2015-12-20 11:43:27 +00:00
UbitUmarov b31adde5fc BUG FIX on avatar position updates send control 2015-12-20 11:12:48 +00:00
UbitUmarov a4f91e5064 do not change a attachment phatom state on crossings 2015-12-19 19:49:27 +00:00
UbitUmarov 01a27e8c71 establish a minimun for ReprioritizationDistance 2015-12-19 17:39:42 +00:00
UbitUmarov 48f6010a1c a more clean enforcement of BestAvatarResponsiveness (others aren't good at moment 2015-12-19 17:29:51 +00:00
UbitUmarov e095f51b05 update the xmlrpcGroups http keep alive option, and coment 2015-12-19 15:29:51 +00:00
UbitUmarov 9a492258c9 reduce xmlrpcgroups error messages if its debug option is off. Disable keepalive by default 2015-12-19 15:24:43 +00:00
UbitUmarov da1c347676 temporary assets are as local 2015-12-19 15:05:49 +00:00
UbitUmarov b29ab1b2df adjust the checks for invalid asset IDs. changed upload fail detection 2015-12-19 15:03:22 +00:00
UbitUmarov b2acef8aad remove the unused OBB physics parameters export, since they aren't actually usefull outside ubOde 2015-12-17 22:34:21 +00:00
UbitUmarov 56e28c6c27 fix silly bug: Dynamics are to apply to root prim not child 2015-12-17 19:02:46 +00:00
UbitUmarov 01b4b25cdb current priority code uses avatar position not camera, so fix reprioritizer. This may need to be reviewed in future.. it should be camera 2015-12-17 18:15:33 +00:00