Melanie Thielker
b16abc8166
Massive tab and trailing space cleanup
2017-01-05 19:07:37 +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
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
6c6a965320
remove some MegaRegions code from physics
2016-09-01 16:15:51 +01:00
UbitUmarov
e60dc305a4
change bullet relative velocity sign to match ubOde
2016-07-25 01:07:19 +01:00
UbitUmarov
259824fbc4
add EngineName also to the others
2016-07-04 09:13:20 +01:00
Melanie Thielker
28fb722612
CR safari. Remove gratuitious CRs in some files
2016-04-07 19:53:56 +02:00
Robert Adams
be43fc2234
BulletSim: use the new 'setAvatarSize' physics call introduced in 0.9.
...
This disables all the avatar size fudge numbers previously used by BulletSim.
If you have your region tuned to the old way, set
"[BulletSim]AvatarUseBefore09SizeComputation=true" in your INI files.
2016-03-06 14:23:06 -08:00
Robert Adams
feb058f5c5
BulletSim: Send out avatar position update if velocity is now zero
...
and it wasn't zero last tick. This will prevent some avatar creeping.
Adjust BulletSim default avatar velocity zeroing so the avatar stops sooner.
2016-03-06 11:30:25 -08: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
Robert Adams
66be75556b
BulletSim: increase default value of AvatarStopZeroThreshold as this reduces
...
the occurance of stopped avatar drifting in the viewer. Not sure why but this
is a short term fix while investigation continues.
2016-01-20 06:35:53 -08:00
Robert Adams
33af419050
BulletSim: make collision sounds work most of the time. Seems that collisions
...
usually stop the collider so velocity is often small.
Also remove some chatty debug messages.
2016-01-19 22:09:51 -08:00
Robert Adams
ddd59fab5f
BulletSim: add stationary suppression on AddForce application. This enables
...
small pushing of avatars (Mantis 7779).
2016-01-18 10:50:28 -08:00
Robert Adams
5ed90b3921
BulletSim: fix problem of not zeroing motion when stationary (drift problem from
...
Mantis 7813). Redo Z computations for movement. Clean up code to simplify
tests. Add function to suppress stationary tests unless velocity drops.
2016-01-18 10:48:10 -08:00
Robert Adams
35d4298be6
BulletSim: change method signatures for internal AddForce methods to remove
...
confusion about push forces. The latter is an external, physics engine interface
feature (the force parameter has a different unit if pushing vs adding force)
and that distinction is not used internally.
2016-01-18 07:02:48 -08:00
Robert Adams
fb57d31538
BulletSim: revert avatar stationary testing for having slight velocity.
...
This fix causes drift (Mantis 7813). This revision will rebreak pushing
(Mantis 7779) but drifting is bad and pushing will be fixed in future commits.
2016-01-18 07:00:50 -08:00
Robert Adams
22501ea06d
BulletSim: fix Mantis 7798: land collisions not working.
2016-01-10 16:42:23 -08:00
Robert Adams
d4e88f8883
BulletSim: tweaking so avatar can be pushed. In particular, llPushObject,
...
which called BSCharacter.AddForce, can now move a character.
2016-01-10 14:53:55 -08:00
UbitUmarov
79945cff7c
improve a bit llpushobject on avatars using bullet, but force is ignored a few seconds after a movement comand. RAdams plz take a look
2015-12-12 20:52:12 +00:00
Robert Adams
e4d0ae4f6e
BulletSim: fix collision sound calculation. Modify some routines to make
...
collider and collidee clearer. Also fix (when did it break?) avatars not moving
if standing on a moving object. Now friction will move avatars if standing
on a disc or the top of a train.
2015-11-30 20:51:12 -08:00
UbitUmarov
15f8a46216
let Bullet do collision sounds (RAdams plz fix the relative speed)
2015-11-29 00:02:46 +00:00
UbitUmarov
deb4364f42
remove the use of Vector3 for axis locks on the rest of engines
2015-10-21 00:15:09 +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
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
6bca0c9c9c
recover bulletS fps math change lost in merge
2015-09-17 08:45:52 +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
40fd7cbf74
a mess with Modules and Module
2015-09-08 20:03:54 +01:00
UbitUmarov
774c42e7fb
fix some compile
2015-09-08 17:02:44 +01: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
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
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
Diva Canto
9435405ca1
Deleted physics plugin classes.
...
More unit tests fixed.
2015-08-31 16:23:43 -07:00
Diva Canto
50e7e38f45
Physics refactoring: all unit tests pass.
2015-08-31 15:04:10 -07:00
Diva Canto
11194209df
First commit where physics work as region module.
...
Moved all physics dlls out of Physics and into bin directly, so they can be found by the module loader.
Removed call to PhysicsPluginManager.
2015-08-31 14:09:15 -07:00
Diva Canto
134d4300f0
All physics plugins are now region modules. Compiles but doesn't run.
2015-08-31 13:02:51 -07:00
Diva Canto
49ab478d28
Fixed a namespace dependency. Also started preparing prebuild.xml for making physics region modules.
2015-08-31 09:41:00 -07:00
Diva Canto
ce2c67876e
More namespace and dll name changes. Still no functional changes.
2015-08-30 21:05:36 -07:00
Diva Canto
2c0cad6dd3
Renamed the namespaces too
2015-08-30 20:29:31 -07:00
Diva Canto
1d6b33bc2d
Major renaming of Physics dlls / folders. No functional changes, just renames.
2015-08-30 20:06:53 -07:00