Commit Graph

259 Commits

Author SHA1 Message Date
UbitUmarov
24435cfe9a Fix wrong active angularlock detection (it was only burning cpu), stop trying to add a amotor to each child prim and stop using unnecessary trimeshcallbacks 2015-10-17 21:56:15 +01:00
UbitUmarov
e2d7e6290d fix GetTerrainHeightAtXY also on master. Fix wrong active angularlock detection (it was only burning cpu), stop trying to add a amotor to each child part and fix a typo. 2015-10-17 20:07:52 +01:00
UbitUmarov
8dcb4de53c fix GetTerrainHeightAtXY for large regions. Also change ode dispose() 2015-10-17 14:42:04 +01:00
UbitUmarov
f39e6bc482 bug fix. Some rare meshs reported as having +-infinity dimensions 2015-10-15 19:06:39 +01:00
Diva Canto
e14e432b50 More exception catching in ODE at shutdown. Not sure why the exception happens. 2015-10-14 17:57:13 -07:00
Diva Canto
45b8e6c1a7 Fixed exception upon shutting down in plain ODE.
09:49:57 - [SHUTDOWN]: Ignoring failure during shutdown - System.NullReferenceException: Object reference not set to an instance of an object.
   at OpenSim.Region.PhysicsModule.ODE.OdeScene.Dispose() in f:\dev\opensim-core\OpenSim\Region\PhysicsModules\Ode\OdeScene.cs:line 4062
2015-10-14 09:56:23 -07: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
f360ddd28e rename UbitMeshmerizer class as ubMeshmerizer 2015-10-13 11:08:54 +01:00
UbitUmarov
3d8384b696 detect a fully degenerated mesh and avoid using it and so crashing ubOde 2015-10-12 00:49:07 +01:00
UbitUmarov
af5ea18f33 use System.IO.Compression.DeflateStream for mesh decompression like master, since ACE zlib does seem to fail to decompress some meshs present at OSG, (possible same issue happens with map with option to draw prims) 2015-10-11 23:04:22 +01:00
UbitUmarov
88763178c5 display prim name, if unzip of selected phsyics mesh part fails on ubMeshmerizer ( thx Dan) 2015-10-11 20:17:58 +01:00
Robert Adams
e1ce04de42 Implement an overridable implementation of PhysicsActor.SetVehicle()
that works for all physics engines.
BulletSim: implement an optimized version of SetVehicle() that still
  uses the vehicle code to do bounds checking but does it in one taint
  operation.
2015-10-02 18:35:02 -07: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
5f5dbfc264 same for old Ode 2015-09-23 01:50:59 +01:00
UbitUmarov
43ca70655f remove a odd floating offset on physical prims/terrain collisions 2015-09-23 01:42:24 +01:00
UbitUmarov
6bca0c9c9c recover bulletS fps math change lost in merge 2015-09-17 08:45:52 +01:00
UbitUmarov
672f7468f7 change the names also on the assembyInfo files 2015-09-13 00:05:29 +01:00
UbitUmarov
e9a56d5e19 rename Ubit physics modules 2015-09-12 21:38:26 +01:00
UbitUmarov
61ad58310b fix the typos that seem to matter so much to some :p 2015-09-12 02:21:27 +01:00
UbitUmarov
5e12bc452d minor clean, letting small classes be own module class 2015-09-09 19:03:31 +01:00
UbitUmarov
47aa8107fd let old ode also have a Module class 2015-09-09 18:53:24 +01:00
UbitUmarov
e1a8125b4f found core hack to fix modules interdependencies RegionLoaded is not that obvius 2015-09-09 17:55:46 +01:00
UbitUmarov
8571736ff3 split Module from its scene, so if not enabled there is no scene memory allocation. All physics modules need this ( if not others) 2015-09-09 17:15:04 +01:00
UbitUmarov
9a919bac3f demote ConvexDecompositionDotNet to a simple dll, i had made it a region module 2015-09-09 15:07:35 +01:00
UbitUmarov
52fb24ade5 retouch ubitode module 2015-09-09 14:27:21 +01:00
UbitUmarov
254008cd1f and now.. seems to work.. but does it really work? 2015-09-08 21:41:52 +01:00
UbitUmarov
6dc4c8321d properties folders 2015-09-08 20:44:20 +01:00
UbitUmarov
40fd7cbf74 a mess with Modules and Module 2015-09-08 20:03:54 +01:00
UbitUmarov
339f60e990 more on compile.. 2015-09-08 18:45:53 +01:00
UbitUmarov
ecc1969857 more on compile.. 2015-09-08 18:13:15 +01:00
UbitUmarov
e8d5f23fc4 opps my files? 2015-09-08 17:34:27 +01:00
UbitUmarov
5c619fe0ab opps my files? 2015-09-08 17:21:45 +01:00
UbitUmarov
d2d34a473d rename Ubitode 2015-09-08 17:17:09 +01:00
UbitUmarov
774c42e7fb fix some compile 2015-09-08 17:02:44 +01:00
UbitUmarov
971b613d08 fix some compile 2015-09-08 16:47:31 +01:00
UbitUmarov
5b3e2ab9aa Merge branch 'mbworknew1' into ubitworkvarnew 2015-09-08 15:03:22 +01:00
Robert Adams
4dd17c4117 More 'everything is a module' merging.
Have most of UbitOde converted.
There are compile errors in OpenSimBase as the new modules stuff is not all there.
Removed ChOdePlugin as it's connection to OdePlugin was tangled.
2015-09-08 06:15:46 -07:00
Robert Adams
e5367d822b Merge of ubitworkvarnew with opensim/master as of 20150905.
This integrates the OpenSim refactoring to make physics, etc into modules.
AVN physics hasn't been moved to new location.
Does not compile yet.

Merge branch 'osmaster' into mbworknew1
2015-09-08 04:54:16 -07:00
Diva Canto
45046858a1 Typos in comments 2015-09-06 14:57:18 -07:00
Diva Canto
c2346a0823 Changed a couple of comments to be more generic 2015-09-05 10:28:44 -07:00
UbitUmarov
13b1c5dfce let ode suport var size regions
Signed-off-by: Diva Canto <diva@metaverseink.com>
2015-09-05 10:17:30 -07:00
Diva Canto
2210c5807f Fixes a problem with Bullet physics when it is configured to run on a separate thread. 2015-09-04 16:33:07 -07:00
Diva Canto
d7f22fb2cc POSScene wasn't really a region module. Fixed now. 2015-09-04 15:48:59 -07:00
Diva Canto
0235e58fff Moved ExtendedPhysics from OptionalModules to Bullet project, because it's very much an optional Bullet feature. This way, Bullet doesn't need to depend on the OptionalModules dll. No changes in configs or behavior. 2015-09-01 09:20:20 -07:00