Commit Graph

167 Commits

Author SHA1 Message Date
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
UbitUmarov
ee485187db remove a gc.collect that isn't very usefull 2016-12-30 04:57:34 +00:00
UbitUmarov
7d8cb244d1 ubOde other convex type objects other than mesh and sculpt also don't have holes 2016-12-12 19:16:51 +00:00
UbitUmarov
fe3303dc11 ubOde simple spheres and boxes with type convex have no holes on physics(long forgotten fix) 2016-12-12 17:53:40 +00:00
UbitUmarov
2ff75e7692 ubMeshmerizer, fix the orientation of last triangle on top/bottom faces in case on circle hollow shape 2016-12-03 18:35:31 +00:00
UbitUmarov
e60366ce92 avoid doing unnecessary heavy things on change physics rep 2016-11-26 03:29:22 +00:00
UbitUmarov
ba7904a3a8 a few more changes on potencial mem issues 2016-11-18 00:12:09 +00:00
UbitUmarov
2db22bf064 minor changes to ubMeshmerizer memory use 2016-11-17 13:57:45 +00:00
Robert Adams
e13ff5a392 BulletSim: update avatar velocity setting to the new TargetVelocity pattern.
Now PhysicsActor.Velocity.set and PhysicsActor.SetMomentum do the same thing
   of setting the instantanious avatar velocity. PhysicsActor.TargetVelocity
   sets a velocity target and the movement motor is used to accelerate the'
   avatar to that velocity.
2016-11-13 11:19:54 -08:00
UbitUmarov
4a7b8c1b41 ubOde fix a multhreading timming issue 2016-11-12 03:31:34 +00:00
UbitUmarov
58b7be48a9 ubOde: add a needed lock 2016-11-10 23:07:57 +00:00
UbitUmarov
7ebc08ad65 partially revert commit f29d5ad662: if mesh asset does not contain data for PRIM type warn and use convex, do avoid physical peims going underground etc 2016-11-07 18:34:45 +00:00
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
f29d5ad662 ubOde: if a mesh does not contain data for shape type PRIM, dont collide as convex as before but just don't collide matching the type NONE viewers display in this case 2016-11-02 22:33:32 +00:00
Robert Adams
e13fecfd3d BulletSim: zero velocity target when setting velocity through the
SetMomentum method.
2016-10-03 20:47:30 -07:00
Robert Adams
c7e4b14a26 BulletSim: fix problem with avatar velocity going to zero when flying across
region boundries.
Move code for Velocity, ForceVelocity and SetMomentum to BSPhysObject and
   have both BSPrim and BSCharacter share the code.
2016-09-30 19:35:44 -07:00
UbitUmarov
34dce801b2 put a lock back in ubOde character :( 2016-09-12 18:10:11 +01:00
UbitUmarov
d5dbcc8ad7 ubMeshmerizer: add a few more try{} guards in file operations, etc 2016-09-05 15:59:33 +01:00
UbitUmarov
d9572bdf4e ConvexDecomposition remove a copy of vertices not needed for ubOde 2016-09-02 11:55:59 +01:00
UbitUmarov
ea686058c9 ConvexDecomposition fix some incorrect convexhull mesh generation for ubOde 2016-09-02 10:37:18 +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
0628671d69 missing file 2016-08-28 03:54:47 +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
9128c88d9b remove excess data 2016-08-27 22:10:31 +01:00
Vegaslon
c918dd74da Import plumbing from Halcyon for camera data to physics engine.
Signed-off-by: UbitUmarov <ajlduarte@sapo.pt>
2016-08-27 22:02:03 +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
3ffb6e8120 minor locking issue 2016-08-22 06:29:54 +01:00
UbitUmarov
c8a1d7e5a7 workaround potencial memory leaks 2016-08-22 03:55:01 +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
f387b93859 tell prim name on some more ubMeshmerizer error/warn messages 2016-08-09 11:59:27 +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
fcdf0b00b1 add give a body to default rootVelocity 2016-07-25 07:24:39 +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
e60dc305a4 change bullet relative velocity sign to match ubOde 2016-07-25 01:07:19 +01:00
UbitUmarov
42a072d181 preserve max relative velocity on a colision report time slice 2016-07-25 00:47:43 +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