Commit Graph

281 Commits

Author SHA1 Message Date
UbitUmarov
9bd8e45b30 remove some more of obsolete ninha joints code 2022-03-19 01:06:44 +00:00
UbitUmarov
846d2df245 replace util.clip by utils.clamp (from libomv), and a few more cosmetics 2022-03-18 02:20:40 +00:00
UbitUmarov
ad17ce0b51 CameraData is a bit too large to be a struct 2022-03-14 21:39:21 +00:00
UbitUmarov
5728d634b5 cosmetics 2022-03-14 21:12:53 +00:00
UbitUmarov
3dcb77c7b7 more source indentation fix 2022-03-14 18:50:53 +00:00
UbitUmarov
3631018a7e more source indentation fix 2022-03-14 18:43:13 +00:00
UbitUmarov
9b85bbd69a look more tabs ans things.. 2022-03-13 13:32:51 +00:00
Vincent Sylvester
13dbbc2683 Remove tabs, indent code properly
Signed-off-by: UbitUmarov <ajlduarte@sapo.pt>
2022-03-13 13:15:05 +00:00
UbitUmarov
e043d8a2eb use array.Empty<byte> 2022-03-12 15:21:24 +00:00
UbitUmarov
5c0bd1c279 ubOdeMeshmerizer: try log a bit more information in case of fail to decode a mesh asset header 2022-01-19 00:32:14 +00:00
UbitUmarov
dd846ffc6c update libomv with vector2 and 3 IsZero() 2022-01-09 23:52:42 +00:00
UbitUmarov
da928d6099 != UUID.Zero is slow 2022-01-09 02:28:51 +00:00
UbitUmarov
7e0fc95c3a == UUID.Zero is slow 2022-01-09 00:33:16 +00:00
UbitUmarov
86206432de let ubode bad meshmerizer be again just a error, not a critical region stop. (this is temporarygit push) 2021-12-11 22:46:17 +00:00
UbitUmarov
b5d67d08a7 ubode version now has form managed-unmanaged versions (osGetPhysicsEngineName()) 2021-12-03 20:31:35 +00:00
UbitUmarov
ee0d6b4507 Invalid physics meshing option is a fatal error 2021-12-02 18:13:47 +00:00
UbitUmarov
9f88613f7e simplify ubOdeMeshing a bit 2021-11-28 23:55:39 +00:00
UbitUmarov
6007f97a41 some ubOde CO2 2021-11-28 19:16:52 +00:00
UbitUmarov
9d60ceb85f update libomv 2021-09-08 21:03:04 +01:00
UbitUmarov
076c87914d save a few ns on ubode 2021-09-08 17:52:11 +01:00
UbitUmarov
21da22b6ec lludp remove obsolete pending queue 2021-06-02 14:28:47 +01:00
UbitUmarov
31f7d47663 minor cosmetics 2021-02-12 13:29:41 +00:00
UbitUmarov
ec216a3877 use ObjectJobEngine on ubOde mesh worker 2021-01-08 14:40:14 +00:00
UbitUmarov
1fbf8b44b4 ubOde mesh work does not need a thread all the time 2021-01-08 11:15:41 +00:00
UbitUmarov
9773ff42c2 define constants for simulation height (-100,50000m) and terrain heightmap (-100,4000). No option. compile time decision. use them at ubOde 2020-10-12 23:20:37 +01:00
UbitUmarov
b929a20045 ubOde resize a avatar without recreating it 2020-09-13 05:47:05 +01:00
UbitUmarov
185ed42123 cosmetics 2019-07-30 18:34:32 +01:00
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
ba66d2d3c1 minor cleanup on mesh decompress code 2019-04-02 10:13:26 +01:00
Robert Adams
87c81b5172 BulletSim: Add delay to stationary check after adding force to Avatar.
Fix to Mantis 8496.
Add parameter [BulletSim] AvatarAddForceFrames.
2019-03-06 10:29:46 -08:00
Robert Adams
52947b6280 Remove some more cut-and-paste typos in 6dof constraint setup in XNA
version of BulletSim. Could only effect operation of flexible linksets when
using the C# version of the Bullet physics engine.
Found by Tampa and AliciaRaven and reported in Mantis 7612.
2019-02-05 08:35:27 -08:00
Robert Adams
a1568697d0 Remove cut-and-paste typo in 6dof contstrain setup in XNA version of
BulletSim. Could only effect operation of flexible linksets when using
the C# version of the Bullet physics engine.
Found by Tampa and reported in Mantis 7612.
2019-02-05 08:07:22 -08: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
81bb620d64 ubode try remove a legacy lock, that is nasty 2019-01-21 01:43:35 +00:00
UbitUmarov
be94a0bffa minor cosmetics 2019-01-05 23:39:39 +00:00
UbitUmarov
4a73cc81dc now break several things at same time... sog/sop updates, threads options,... 2018-12-28 13:52:59 +00:00
UbitUmarov
af2a9d9508 mantis 8420: ubOde awake up lazy body 2018-12-11 17:23:55 +00:00
UbitUmarov
58b68aa5e9 fix compile putting back useless things until they are fully removed 2018-12-06 19:04:51 +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
d43eeb1d9d avoid a null ref on Bullet 2018-11-15 22:17:44 +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