Commit Graph

52 Commits

Author SHA1 Message Date
UbitUmarov
d0ae8bb86a start removing old hack of using SetMomentum to just set instant velocity, now that TargetVelocity is avaiable 2016-11-07 12:45:20 +00:00
UbitUmarov
014cd1ab42 restrict ubOde castray with terrain range only on horizontal plane, let it find physical avatars. 2016-11-06 03:53:12 +00:00
UbitUmarov
34dce801b2 put a lock back in ubOde character :( 2016-09-12 18:10:11 +01:00
UbitUmarov
f6eac5aa7a remove some MegaRegions code from ubOde 2016-09-01 17:25:29 +01:00
UbitUmarov
6c6a965320 remove some MegaRegions code from physics 2016-09-01 16:15:51 +01:00
UbitUmarov
2b1b013404 ubOde add a missing decimal dot :) 2016-08-29 16:25:46 +01:00
UbitUmarov
155a861a4f ubOde mouse look steer with some MOUSELOOK_BANK action 2016-08-29 16:22:16 +01:00
UbitUmarov
804d4971e2 my broken version of vehicle mouse steer on ubOde (no bank,needs better damp) 2016-08-28 03:51:20 +01:00
UbitUmarov
133fce98e7 change ODEs topcolliders code ( still bad), plus a few memory leaks 2016-08-22 20:28:15 +01:00
UbitUmarov
3abd54082f remove unnecessary lock 2016-08-22 07:32:12 +01:00
UbitUmarov
6ad0f3250b fix ubOde prims unlink that got broken fixing sleeping bodies collisions, core removes and adds a prim with same LocalID not giving time for physics to actuly delete, so when it did it LocalID was lost 2016-08-19 21:28:40 +01:00
UbitUmarov
f1495cb237 ubOde reduce collision_start latency in same cases (only one collision happening and more than 50ms since last) 2016-08-17 22:34:21 +01:00
UbitUmarov
f7419ad52d ubOde revert making vehicle hover height disable hover. This at least breaks current scripts. wikis say it should, but makes no sense with vehicle type parameters defaults. Hover it again only disabled with timescale >300; handle llSameGroup on attachments 2016-08-06 05:21:15 +01:00
UbitUmarov
17cc238b44 ubOde a few changes to collisions reporting 2016-08-06 02:05:23 +01:00
UbitUmarov
2619005f46 also disable vehicle hover if its hover is set to zero 2016-08-04 17:17:16 +01:00
UbitUmarov
3f2291611f apply external forces and torque to vehicles also, as other engines do 2016-08-04 16:24:19 +01:00
UbitUmarov
2d8669ad39 reduce ubOde walking super climbers 2016-08-02 21:08:22 +01:00
UbitUmarov
67a32c91bb remove redundant check 2016-07-25 08:45:15 +01:00
UbitUmarov
2548f240b5 add missing overrides 2016-07-25 07:18:23 +01:00
UbitUmarov
aa9503ab86 revert bad last changes and fix the issue another way 2016-07-25 07:06:36 +01:00
UbitUmarov
f661fdf2aa ubOde bug fix 2016-07-25 06:07:06 +01:00
UbitUmarov
0a9f06fda7 ubOde actually revert last change don't send unnecessary empty collisions, will patch it elsewhere 2016-07-24 22:33:31 +01:00
UbitUmarov
c303cf7412 ubOde still on relative velocity. Make ubOde report avatar empty collisions to tick events on core. Avn didn't require this, core should not require also (TODO) 2016-07-24 22:28:45 +01:00
UbitUmarov
a572a22dd9 ubOde try to improve contact velocity on first avatar collision with terrain 2016-07-24 21:29:34 +01:00
UbitUmarov
574b97d93d ubOde fix contact relative velocity sign 2016-07-24 21:16:14 +01:00
UbitUmarov
ac72598c6b add OSSL osGetPhysicsEngineName(). this returns a string with name and version. does no permition checks or it whould be less usefull ( only ubOde returns value) 2016-07-04 08:29:26 +01:00
UbitUmarov
ea140d7cac change ubOde module, hopefully for better handling of multiple scenes on same instance. ( may be broken now ) 2016-06-29 14:14:16 +01:00
Diva Canto
ab12a14279 Pushed AssemblyVersion up to VersionInfo, so that we don't need to do global replace anymore. 2016-02-21 11:14:02 -08: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
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
98a00cbce5 ubOde: add threading related calls new ode.dll may need. Hope this doesn't break with current linux ode library 2015-11-20 00:37:41 +00:00
UbitUmarov
55cce6aee0 minor: reset character collision flags, even if without a Body 2015-11-12 22:40:55 +00:00
UbitUmarov
9bd6befdeb add some safeguard checks 2015-11-12 21:24:14 +00:00
UbitUmarov
097c56330a rename MinFrameTime as FrameTime, since it is not a minimum but a target value; retune its value a bit so reported FPS is closer to integer value; change ode step size acording to reduce jitter in phys FPS; Make Statistics Scaling factor (fludge factor) configurable. (legacy default of 5.0 in code) 2015-11-08 04:28:46 +00:00
UbitUmarov
185d3bd39e change maximum angular velocity to a value derived from heartbeat rate and Nyquist. 2015-11-08 01:47:54 +00:00
UbitUmarov
eccc6f1081 fix wrong condition to set low angular velocity as Zero. 2015-11-08 00:24:54 +00:00
UbitUmarov
f8efd00775 add a console/log warning about large physics meshs on ubOde that can have negative impact on region load 2015-11-05 16:57:48 +00:00
UbitUmarov
7cb6ecb9f5 Make physics engines finish internal representation of loaded prims before starting simulation so it does start for all at same time. Currently only in use by ubOde 2015-10-22 17:34:28 +01:00
UbitUmarov
7aaa84515f rename terrain for opensim and respective configuration flag that a future costumized ODE library may have 2015-10-22 16:20:19 +01:00
UbitUmarov
f84b75b1e0 update ubOde hashspaces levels 2015-10-21 01:50:28 +01:00
UbitUmarov
f6891b36be stop using a vector3 to store axis locks 3bit flags in ubOde 2015-10-20 19:33:15 +01:00
UbitUmarov
8d7fa62088 fix a typo.. 2015-10-14 04:06:17 +01:00
UbitUmarov
7deaad7368 bug fix, and make Mesh-Mesh and Mesh-Terrain collisions a lot softer 2015-10-14 02:32:51 +01:00
UbitUmarov
9ec9eee75f reduce jitter due to viewer interpolators on objects that are really almost at rest 2015-10-13 23:03:51 +01:00
UbitUmarov
2e2c1a1fcd change fps and dilation (still something not that usefull). make collisions a bit less explosive.., do changes on own time limited loop and not on simulation loop, ... 2015-10-13 23:01:54 +01:00
UbitUmarov
aa3303e3af add get method on physics actors PIDHoverActive 2015-09-30 20:13:31 +01:00
UbitUmarov
f87e284ec2 first steps adding suport for llSetHoverHeight() called from attachments on ubOde. Sure needs work.. like sp motion control still assumes stopped and not falling state. Only very basic test on flat land done 2015-09-30 19:14:37 +01:00
UbitUmarov
af34bfddd1 add physics assistance on placement of a new object. This may help on mantis 7727, but may still need more work 2015-09-24 06:46:07 +01:00
UbitUmarov
9e183cbd30 fix for future non square regions 2015-09-23 03:31:23 +01:00
UbitUmarov
43ca70655f remove a odd floating offset on physical prims/terrain collisions 2015-09-23 01:42:24 +01:00