Commit Graph

107 Commits

Author SHA1 Message Date
UbitUmarov
ea32a73103 osLocalTeleportAgent: no region crossings :( ; check avatar access to target position; flag 8 == force fly; 16 force nofly (both == fly) 2019-05-01 03:49:24 +01:00
UbitUmarov
11c945a565 add osLocalTeleportAgent(key agent, vector position, vector velocity, vector lookat, LSL_Integer flags). Velocity only works with ubOde but still not good. flags = bit field: 1 use velocity, 2 use lookat, 4 rotate avatar look in current velocity direction (ignored if 2 ie flag = 7 is same as 3). This bypasses most the unnecessary logic of osTeleportAgent, having usage same permissions. It may do region crossings(?). Experimental stage, feedbakc expected ;) 2019-05-01 01:36:10 +01:00
UbitUmarov
0652f01d4c duhhh npcs don't have child agents; plus minor typos 2019-04-05 03:45:27 +01:00
UbitUmarov
9046e5cb9d ubode add position to pid control it stopped flying to prevent slow drifts 2019-01-31 17:25:18 +00:00
UbitUmarov
44e6f45ed6 cosmetics 2019-01-31 12:03:14 +00:00
UbitUmarov
6bc8e2413f ubode replace a locklessqueue by .net concurrentqueue 2019-01-29 13:49:29 +00:00
UbitUmarov
4c79a85621 forgotten locks on ubode 2019-01-28 03:37:54 +00:00
UbitUmarov
44d6746f40 well.. put the ode locks back, for now 2019-01-21 08:34:19 +00:00
UbitUmarov
a287a8e121 this looks more like ubode 2019-01-21 01:59:33 +00:00
UbitUmarov
af2a9d9508 mantis 8420: ubOde awake up lazy body 2018-12-11 17:23:55 +00:00
UbitUmarov
66f46c6846 ubOde: slow down collision events to attachments 2018-12-06 18:50:42 +00:00
UbitUmarov
e08b43569e potencial mem leak 2018-12-01 18:49:30 +00:00
UbitUmarov
64f8036d8f pesty warning 2018-11-12 11:22:39 +00:00
UbitUmarov
c05598fe62 ubOde: remove support for old native ODE lib; make inplace terrain changes, if possible 2018-11-12 11:12:52 +00:00
UbitUmarov
39c8db8eb1 ubOde change terrain min height to -100m. Maybe this way a viewer dev mays fix rendering below 0m, like making them think z = 1m for that purpose, for example 2018-06-27 23:14:26 +01:00
UbitUmarov
09ae675d28 Merge branch 'master' into httptests 2018-05-04 23:01:53 +01:00
UbitUmarov
24df1086fa fix ubOde terrain copy at north and east borders 2018-05-04 23:00:34 +01:00
UbitUmarov
d38161f83d retire our BlockingQueue replaced by BlockingCollection and cross fingers 2018-01-22 17:09:38 +00:00
UbitUmarov
49b4408782 some cleanup 2018-01-20 12:11:07 +00:00
UbitUmarov
88511bfab2 make ubOde PInvoke follow ms coding rules 2018-01-14 01:02:21 +00:00
UbitUmarov
b581a64788 ubOde: comment out some debug stats 2017-09-08 20:04:16 +01:00
UbitUmarov
0ac81f6a09 ubOde: hashSpaces aren't that nice 2017-09-08 19:59:38 +01:00
UbitUmarov
6cf27e2191 ubOde move static/dynamic friction to unmanaged code. Note this now requeries ode version OS0.13.3 currently at opensim-libs repo trunk/unmanaged/ODE-OpenSim-Test 2017-08-21 04:54:01 +01:00
UbitUmarov
3ae210d36f ubOde: let small spheres still be spheres 2017-07-22 02:04:02 +01:00
UbitUmarov
d71d13f72b ubOde: represent small objects as a box. A object is small is all scale dimensions are less or equal to option MinSizeToMeshmerize (in ODEPhysicsSettings) with default of 0.1. This is needed because this objects hit narrow phase with high overlaps alot more, and so have high cpu cost. 2017-07-22 01:31:39 +01:00
UbitUmarov
98c64f1aa9 ubOde remove ols pseudo convex for sculpts 2017-07-22 00:00:46 +01:00
UbitUmarov
04b97be71e ode does not like null refs 2017-07-16 02:55:39 +01:00
UbitUmarov
8b16131206 add Util.GetTimeStamp() that returns the stamp in seconds; use it on ubOde; separed land collsions dispatch from the others... 2017-07-13 20:21:18 +01:00
UbitUmarov
dfef16297b ubOde don't use old ode body sleep option, a few changes on sleep control, update ode.dll (windows, others needed) (keep older versions.. bc.. well bugs happen) 2017-07-07 01:49:34 +01:00
UbitUmarov
1dc56eb15f ubOde: but only do that if sphere is physical.. 2017-07-03 23:38:55 +01:00
UbitUmarov
39751891f4 ubOde: dont do avatar step climb on small true spheres. lets play simple football 2017-07-03 22:47:27 +01:00
UbitUmarov
f3a920237b oops i forgot the avatar knees bending on ramps... so go back.. 2017-07-02 01:34:06 +01:00
UbitUmarov
edc7575f9e a few changes to ubOde avatar collisions 2017-07-01 01:43:58 +01:00
UbitUmarov
a18d45fbdc fix some issues on ubOde physics shape type changes 2017-06-12 16:19:29 +01:00
Kevin Cozens
0ac6b74c5e Fixed typo in log message 2017-06-09 10:14:09 -04:00
UbitUmarov
319ccf17c8 add a bit more protection for broken scripts like ingen-e3s-v1.33 2017-05-21 01:52:27 +01:00
UbitUmarov
a5e3aab575 fix a null ref in ubOde character 2017-05-20 23:37:14 +01:00
UbitUmarov
84c9125016 update ode binaries for windows; add a minimal velocity for bounce 2017-04-20 02:25:22 +01:00
UbitUmarov
006c08886a deleted a bit 2 much on last commit 2017-04-18 05:31:15 +01:00
UbitUmarov
49884b94a7 update ODE binaries for windows. Other platforms need to compile from opensim-libs repo, folder ODE-OpenSim-0.13.2, read file OPENSIM-README.txt. Remove code to reduce bounce on non physical placement, new unmanaged should handle that 2017-04-18 00:50:55 +01:00
UbitUmarov
0f7ffc56ce several changes for osTeleportObject 2017-04-15 10:46:18 +01:00
UbitUmarov
156ef0bbe3 still issues with volume detectors and sleeping bodies 2017-04-15 02:48:58 +01:00
UbitUmarov
4f8f04d949 still issues with volume detectors and sleeping bodies 2017-04-15 01:21:47 +01:00
UbitUmarov
9d8220ac9f some reduction on large colision repulsive force on non physical placement of physical prims 2017-04-14 03:14:41 +01:00
UbitUmarov
443fc60cdf store the physics inertia override in Mysql and add it to serializer. run prebuild is required 2017-04-01 17:49:17 +01:00
UbitUmarov
24b7903cd0 add missing file. Changes of inertia data of objects running does not
produce correct physical results, namely linear and angular momentum
 are not conserved.
2017-03-31 21:03:57 +01:00
UbitUmarov
6a35a965ff add OSSL functions to override linksets total mass, center of mass and inertia. replacing the crude automatic estimation based on prims known to physics and density. Changed parameters are still not saved, and are lost on region crossings. only suported by UbODE. EXPERIMENTAL feature, only test it for now.. don't try to use in products. 2017-03-31 20:55:48 +01:00
UbitUmarov
2fc7993d69 ubOde: update prim mass when changing Density 2017-01-26 02:45:12 +00:00
Melanie Thielker
b16abc8166 Massive tab and trailing space cleanup 2017-01-05 19:07:37 +00:00
UbitUmarov
1507c5230b remove a gc.collect that isn't very usefull (on the right engine this
time)
2016-12-30 05:15:50 +00:00