aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Physics/BulletSPlugin/BSDynamics.cs (unfollow)
Commit message (Collapse)AuthorFilesLines
2012-11-29BulletSim: remove time scaling of computed vehicle absolute velocity since ↵Robert Adams1-37/+61
Bullet will scale the movement by the time slice. Restore LIMIT_MOTOR_UP to definitition of BOAT simce some vehicle engines use it even for land vehicles. Push vehicle parameter updates through the regular property update to solve vehicles floating off when they should be stopped.
2012-11-29BulletSim: add copyright header where it is missing. Remove some unnecessary ↵Robert Adams1-2/+0
'using' requirements so testing framework is less complicated.
2012-11-29BulletSim: reverse direction of hover correction. Removes problem with ↵Robert Adams1-8/+8
vehicles being orbited.
2012-11-28BulletSim: fix boats floating low by removing LIMIT_MOTOR_UP flag from ↵Robert Adams1-3/+15
TYPE_BOAT definition.
2012-11-28BulletSim: move GetWaterLevelAtXYZ from BSScene to BSPhysTerrain.Robert Adams1-4/+6
2012-11-27BulletSim: reorganize linear movement routine into separate subroutines ↵Robert Adams1-58/+79
enabling external calibration routines and unit tests.
2012-11-27BulletSim: reorganize angular movement routine into separate subroutines ↵Robert Adams1-95/+114
enabling external calibration routines and unit testing.
2012-11-27BulletSim: implementation of vertical attraction motor.Robert Adams1-41/+62
2012-11-26BulletSim: increase vehicle stability by suppressing Bullet's update to ↵Robert Adams1-8/+13
angular velocity.
2012-11-25BulletSim: use m_angularMotor to do the basic movement. Add the setting of ↵Robert Adams1-60/+64
same. Rename the angular forces and add comments to match MoveAngular to the form of MoveLinear.
2012-11-25BulletSim: organize MoveLinear code for understandability. Make ↵Robert Adams1-89/+40
LIMIT_MOTOR_UP contribution a velocity and not a force.
2012-11-25BulletSim: add BSVMotor as BSDynamics linear motor.Robert Adams1-13/+42
Properly limit *_MOTOR_DECAY_TIMESCALE to 120 as per specs. Invode BSDynamics.Refresh() when vehicle type is changed. Previously the vehicle properties weren't getting set because the physical properties were set before the vehicle type was set. Add a "use name" to BSMotors for identification while debugging. Correct current and target confusion in BSVMotor design. Rename CurrentValueReductionTimescale to FrictionTimescale. Event more detailed logging.
2012-11-25BulletSim: clean up TODO list. It is kept somewhere wlse that should be more ↵Robert Adams1-1/+1
public. Add error logging for the detail log writer so a message is output when it cannot write to the specified logging directory. Modify friction defaults to be closer to ODE's values. Add new collision margin and vehicle angular damping parameters.
2012-11-25BulletSim: small change to add position correction force with AddForce ↵Robert Adams1-11/+18
rather than just storing it in the variable
2012-11-06BulletSim: many changes to tune vehicles for BulletSim.Robert Adams1-63/+161
The problem left is that the vehicle sitting on something needs to press down for gravity and what its sitting on pushes up so the vehicle does not penetrate. The effect is Bullet calculates a lot of random angular motion for the vehicle. Various schemes of damping and zeroing has not resolved the problem.
2012-11-03BulletSim: fix compound linkset crash by not freeing shape of child prims.Robert Adams1-3/+3
Remove all compilation warnings (mostly 'protected' in sealed classes.) Add the dynamicAabbEnable parameter to creation of compound shapes.
2012-11-03BulletSim: rename BSBody and BSShape to PhysBody and PhysShape. Add skeleton ↵Robert Adams1-2/+2
of BSLinksetCompound.
2012-11-03BulletSim: vehicle tweeking.Robert Adams1-84/+52
Add AddTorque() method to BSPrim. Remove some manual motor actions in computing angular force (will eventually be replaced with motor class). Remove some experimental changes.
2012-11-03BulletSim: Add gravity force to vehicle. Some debugging additions.Robert Adams1-2/+6
2012-11-03BulletSim: many small changes for vehicles simulation.Robert Adams1-31/+40
2012-11-03BulletSim: Add banking and other new code to vechile dynamics. Add third ↵Robert Adams1-179/+310
party license and contributor in for for Aurora-Sim project for physics code.
2012-10-22BulletSim: fix bug that caused error (and a crash on 32 bit Linux) when mesh ↵Robert Adams1-2/+3
assets weren't already in the cache. Comment cleanups.
2012-10-22BulletSim: remove trailing spaces to make git happy.Robert Adams1-5/+5
2012-10-11BulletSim: Use full linkset mass when computing vehicle gravity force. Add ↵Robert Adams1-3/+3
taint-time specification to new AddForce().
2012-10-11BulletSim: Add Force* operations to objects to allow direct push to engine.Robert Adams1-6/+6
Update BSDynamics to use same (don't want to delay updates til next taint-time. Suppress queuing a taint update for position and orientation calls if value does not change. Move Bullet timing statistics call from C# back to C++ code. Throttle taints per simulation step and add parameter to set. By default, don't create hulls for physical objects. Add a parameter to turn on and off.
2012-10-11BulletSim: Fix crash when linking large physical linksets.Robert Adams1-1/+1
Properly remove and restore linkage constraints when upgrading a prim's mesh to a hull. Lots more debug logging. Definitions and use of Bullet structure dumping. Centralize detail logging so a Flush() can be added for debugging.
2012-10-02BulletSim: call ForcePosition and ForceOrientation in BSDynamics so there is ↵Robert Adams1-39/+57
no lag between what the vehicle code sees and what the physics engine is using.
2012-10-02Correct my name in CONTRIBUTORS.txtRobert Adams1-35/+16
2012-09-27BulletSim: remove the trailing spaces from lines to make git happierRobert Adams1-7/+7
2012-09-27BulletSim: Fix linkset crash. Caused by the different body and shapeRobert Adams1-55/+68
pointers at runtime and at taint-time. Now passes the body into the taint. Vehicles zero inertia when active to eliminate Bullet's contribution to vehicle motion.
2012-09-27BulletSim: move a bunch of common logic out of BSPrim and BSCharacterRobert Adams1-5/+5
and into the parent class BSPhysObject. Rework collision logic to enable extra collision after done colliding. Rename 'Scene' to 'PhysicsScene' to differentiate it from the simulator 'Scene'.
2012-09-15BulletSim: update DLLs and SOs and remove some debugging code.Robert Adams1-1/+1
2012-09-15BulletSim: remove timeStep parameter from calls for vehicle parameter ↵Robert Adams1-6/+3
setting. There is no reason these should be using the simulation time interval for parameter calculation.
2012-09-15BulletSim: Way too many changes in one commit.Robert Adams1-122/+96
Many changes to BSDynamic for readability and commentary. Linkset hacking for vehicles: don't over mass the root prim. Add parameter for link constraint solver iterations. Correct uses of timestep in timescale calculations for vehicles. Reorganize code/logic for making objects static and dynamic for readability and use of API2. Changed most calls in BSPrim to use API2 calls (the new way). Avatars do not generate default Bullet collision events but do call up to the simulator for every avatar. Reduces overhead. Objects added to collision list only if they are processing collisions. Reduces overhead especially for large numbers of avatars. Generalize call for water height to GetWaterHeightAtXYZ(). Catch and correct exception getting terrain height when out of bounds. Correct race condition in Terrain Manager where creation wasn't at taint-time. Add API calls for constructing compound shapes. Move NeedsMeshing() logic into object class. Reorganize logic for object meshing to reduce rebuilding of meshs/hulls.
2012-08-31BulletSim: Changes to terrain storage and management so mega-regions work.Robert Adams1-4/+5
Moved all terrain code out of BSScene and into new BSTerrainManager. Added logic to manage multiple terrains for mega-regions. Added new functions to BulletSimAPI to match the library. Moved all of the terrain creation and setup logic from C++ code to C# code. The unused code has not yet been removed from either place. Soon. Moved checks for avatar above ground and in bounds into BSCharacter.
2012-08-17BulletSim: comments and parameter changes in dynamics engine.Robert Adams1-23/+27
2012-08-17BulletSim: in BSDynamics, merge 'flags' and 'hoverFlags' as they are defined ↵Robert Adams1-158/+20
for the same bits and it makes the code less complicated.
2012-08-15BulletSim: clean up detail logging by adding many more debug log statements ↵Robert Adams1-1/+1
and then commenting out most of the additions.
2012-07-20BulletSim: more detail logging for vehicle and general physics debugging.Robert Adams1-15/+37
Physical linksets are fully functional. Tweeking of the vehicle code to make it semi-work. Utilize the new API2 for some setting operations. Add GetOrientation() API call for proper reporting of children of linksets. Changes the interface between C# and C++ code so old DLLs won't work!
2012-07-20BulletSim: fix compile errors from last commit. Clean up passing of physics ↵Robert Adams1-12/+11
scene into vehicle dynamics code.
2012-07-20BulletSim: Add very detailed logging to BSDynamics for vehicle debuggingRobert Adams1-42/+88
2012-03-23BulletSim: remove confusion between angularVelocity and rotationalVelocity ↵Robert Adams1-2/+2
(there is still confusion in the rest of OpenSim). Enhance some debug statements to include the object ID.
2012-03-22BulletSim: remove confusion between angularVelocity and rotationalVelocity ↵Robert Adams1-2/+2
(there is still confusion in the rest of OpenSim). Enhance some debug statements to include the object ID.
2011-06-20BulletSim initial checkinRobert Adams1-66/+43
2010-06-25minor: remove some mono compiler warningsJustin Clark-Casey (justincc)1-1/+1
2010-02-15Formatting cleanup.Jeff Ames1-25/+25
2010-02-14Revolution is on the roll again! :)Revolution1-39/+362
Fixes: Undo, T-pose of others on login, modifiedBulletX works again, feet now stand on the ground instead of in the ground, adds checks to CombatModule. Adds: Redo, Land Undo, checks to agentUpdate (so one can not fall off of a region), more vehicle parts. Finishes almost all of LSL (1 function left, 2 events). Direct flames and kudos to Revolution, please Signed-off-by: Melanie <melanie@t-data.com>
2010-01-04Formatting cleanup. Add copyright headers.Jeff Ames1-224/+216
2009-11-03minor: remove some mono compiler warningsJustin Clark-Casey (justincc)1-13/+13
2009-10-26Experimental change of PhysicsVector to Vector3. UntestedJohn Hurliman1-1/+1