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
72684592ba
Merge branch 'master' into avinationmerge
...
Conflicts:
OpenSim/Framework/AvatarAppearance.cs
OpenSim/Framework/Servers/ServerBase.cs
OpenSim/Framework/VersionInfo.cs
OpenSim/Region/CoreModules/Agent/AssetTransaction/AssetXferUploader.cs
OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs
OpenSim/Region/CoreModules/ServiceConnectorsOut/Simulation/LocalSimulationConnector.cs
OpenSim/Region/CoreModules/ServiceConnectorsOut/Simulation/RemoteSimulationConnector.cs
OpenSim/Region/Framework/Interfaces/IEntityTransferModule.cs
OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs
OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
OpenSim/Region/PhysicsModules/ConvexDecompositionDotNet/Properties/AssemblyInfo.cs
OpenSim/Region/PhysicsModules/Ode/ODEPrim.cs
OpenSim/Region/PhysicsModules/Ode/OdeScene.cs
OpenSim/Services/Connectors/Simulation/SimulationServiceConnector.cs
OpenSim/Services/HypergridService/GatekeeperService.cs
OpenSim/Services/Interfaces/IAvatarService.cs
OpenSim/Services/LLLoginService/LLLoginService.cs
2015-11-01 03:01:59 +00:00
UbitUmarov
8ed17f745d
let ode also finish internal representation of prim actors, before simulation
2015-10-22 18:03:49 +01: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
44deac4c1e
we do not have prims with size 2^128, missing file
2015-10-21 01:41:04 +01:00
UbitUmarov
c37ea1910d
fix or remove some wrong ODE configuration settings
2015-10-21 01:11:39 +01:00
UbitUmarov
deb4364f42
remove the use of Vector3 for axis locks on the rest of engines
2015-10-21 00:15:09 +01:00
UbitUmarov
ce5d5fc8dc
the inertia matrix inversions and body inertia changes to implement axis locks need to be avoid, so use ubOde axis locks code. Hopefully this will not cause incompatibilities
2015-10-21 00:01:23 +01:00
UbitUmarov
747044f587
stop using a vector3 to store axis locks 3bit flags also in ode
2015-10-20 23:57:57 +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
0045398324
move ugly convertion of axis locks 3 bit flags to a wasted vector3 down to PhysicsActor. Let engines use LockAngularMotion with either Vector3 argument or byte
2015-10-20 19:00:26 +01:00
Diva Canto
59b63b6406
On to 0.8.3!
...
Conflicts:
OpenSim/Region/PhysicsModules/ConvexDecompositionDotNet/Properties/AssemblyInfo.cs
2015-10-18 21:51:49 -07:00
Diva Canto
06d2508b96
On to 0.8.3!
2015-10-18 21:47:10 -07:00
UbitUmarov
a31e5e799e
stop a object when making it not physical
2015-10-18 00:35:52 +01:00
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