aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Physics/BulletSPlugin/BSDynamics.cs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* BulletSim: some formatting changes.Robert Adams2013-04-091-10/+17
|
* Another algorithm for AngularVerticalAttraction. This one Takes into account ↵Vegaslon2013-04-091-0/+23
| | | | | | all rotations before it and makes the corrections more close to the time that sl does. Signed-off-by: Robert Adams <Robert.Adams@intel.com>
* BulletSim: start the renaming of local variables to m_ form to match the ↵Robert Adams2013-03-311-23/+23
| | | | OpenSim coding conventions.
* BulletSim: convert BSDynamic to a BSActor and change BSPrim to setRobert Adams2013-03-311-73/+126
| | | | up the vehicle actor.
* BulletSim: new algorithm for vertical attraction which uses quaternionRobert Adams2013-03-251-3/+45
| | | | | arithmetic to compute the shortest path between the current tilt and vertical.
* BulletSim: code to generate a higher resolution terrain mesh. ParameterRobert Adams2013-03-191-2/+3
| | | | | TerrainMeshMagnification controls number of vertices generated per heightmap point. Default is 3.
* BulletSim: add INI parameter for angular banking timescale fudge parameter.Robert Adams2013-03-161-6/+6
|
* BulletSim: Working Implementation of Angular Banking for Vehicles (Not SL ↵Vegaslon2013-03-161-16/+17
| | | | | | Grade, Other features when implemented should slow it down for now be Strong with Vertical Angular attraction setting and conservative with Angular Velocity on X axis) Signed-off-by: Robert Adams <Robert.Adams@intel.com>
* BulletSim: Tweak vertical angular attraction to remove double ↵Vegaslon2013-03-151-1/+1
| | | | | | VehicleOrientation application fixing the problem with the vertical attractor pushing vehicles nose first into ground when tilted on side. Signed-off-by: Robert Adams <Robert.Adams@intel.com>
* BulletSim: add parameters, code cleanup around checking and enforcingRobert Adams2013-03-011-2/+2
| | | | maximum velocity and angular velocity values for prims.
* BulletSim: rework parameter setting for different types of valuesRobert Adams2013-02-171-3/+3
| | | | (like vectors or quaternions).
* BulletSim: include the linkage to the layered prim implementation. Separate ↵Robert Adams2013-02-081-1/+1
| | | | layers for physical (vs simulator) location displacement and linksets.
* BulletSim: correct angular vertical attraction to properly correct an upside ↵Robert Adams2013-02-051-1/+1
| | | | down vehicle.
* BulletSim: make sure vehicle physical properties are set when goingRobert Adams2013-01-311-16/+14
| | | | | | physical by delaying setting until pre-step time. Change vehicle.Refresh() to schedule the pre-step setting. Comments and updating of TODO list.
* BulletSim: enable angular vertical attraction.Robert Adams2013-01-281-2/+2
| | | | | Increase terrain collision margin to help vehicles from tunneling into same.
* BulletSim: first unit test: vehicle angular attractionRobert Adams2013-01-281-6/+6
|
* BulletSim: simplify the initialization of some of the parameters.Robert Adams2013-01-271-6/+13
| | | | | | Disable vertical attraction for vehicles by default (for the moment). Fix bug where vehicle would go crazy when velocity got above a certain speed.
* BulletSim: parameterize the value for gravity reduction for ground vehicles ↵Robert Adams2013-01-271-7/+8
| | | | on the ground. Set defaults for vehicle factors to one. Debug logging changes.
* BulletSim: first attempt at reporting top collidersRobert Adams2013-01-271-4/+6
|
* BulletSim: parameterize several vehicle debugging values: physical linear ↵Robert Adams2013-01-271-7/+5
| | | | and angular force factors now default to less than 1 (0.2) vehicle friction and restitution now default to low values
* BulletSim: finish the post step event for physical object actions. Modify ↵Robert Adams2013-01-271-3/+11
| | | | vehicle to use post step event for logging.
* BulletSim: reduce the force of gravity on ground vehicles when theyRobert Adams2013-01-241-0/+11
| | | | are on the ground. Makes them a little more stable.
* BulletSim: reduce the zeroing threshold for rotational velocity.Robert Adams2013-01-241-3/+1
| | | | | Sometimes settling of a vehicle from gravity introduces small velocities that need to be kept.
* BulletSim: remove setting of vehicle InterpolationRotationalVelocity.Robert Adams2013-01-231-34/+32
| | | | | | This doesn't seem to help the vehicle stability. Rename vehicle internal variables adding a "V" or "W" so it is clear when coordinates are vehicle or world relative.
* BulletSim: Tweeks to vehicle motion.Robert Adams2013-01-211-13/+8
| | | | | Pass through old angular velocity making for smoother transitions. Remove some old kludges for angular motion (damping and rotvel suppression).
* BulletSim: More aggressive as setting character velocity to zeroRobert Adams2013-01-201-72/+71
| | | | | | | | | | | | when should be standing. Modify angular force routines to be the same pattern as linear force routines. BulletSim vehicle turning is scaled like SL and is DIFFERENT THAN ODE!! Fix some bugs in BSMotor dealing with the motor going to zero. Add a bunch of parameters: MaxLinearVelocity, MaxAngularVelocity, MaxAddForceMagnitude, VehicleMaxLinearVelocity, VehicleMaxAngularVelocity, and most of the values are defaulted to values that are larger than in SL. Use the new parameters in BSPrim, BSCharacter and BSDynamic.
* BulletSim: small fix making sure terrain height is calculatedRobert Adams2013-01-201-1/+3
| | | | properly if the vehicle moves during vehicle actions.
* BulletSim: modify motors to return correction rather than current valueRobert Adams2013-01-201-27/+14
| | | | | | | to better use them for incremental updates. Modify prim and character to use the new motors. Simplify the vehicle linear movement code to just update the velocity directly or the basic movement.
* BulletSim: Add one function that all actors who act on the physicalRobert Adams2013-01-171-1/+2
| | | | | can use to know if the object is currently active. Code cleaning including use of Util.ClampV function.
* BulletSim: don't modify angular parameters when doing LIMIT_MOTOR_UP.Robert Adams2013-01-151-6/+6
| | | | | It was a dumb idea to try and do a nose over feature for jumping cars anyway. Add better logging of native shape creation/reuse so can tell the difference.
* BulletSim: tweeks to improve hover.Robert Adams2013-01-151-5/+21
|
* BulletSim: temporarily disable banking and direction deflectionRobert Adams2013-01-151-8/+24
| | | | | because the computations are wrong. Add VehicleTorqueImpulse routines.
* BulletSim: move center of gravity of linkset to its geometric center.Robert Adams2013-01-111-7/+6
| | | | | | | Necessitated allowing simulator and physical position of a body to get out of sync since Bullet assumes that <0,0,0> is the center of mass. Update DLLs and SOs for the UpdateChildTransform so positions of individual prim in a linkset can be implemented.
* BulletSim: Add IsSelected attribute to physical objects. Have vehicles check ↵Robert Adams2013-01-111-30/+96
| | | | to see if physical before trying to step. Replace vehicle gravity application. Previously relying on Bullet to apply gravity but since vehicles over-ride the velocity calculation, gravity never had a chance to accelerate the body down. Added AddForceImpulse as well as AddForce for those who need to apply immediate velocity updates. Use the impulse to apply the linear motion.
* BulletSim: Redo linear function coding so they can better interact. New ↵Robert Adams2013-01-111-62/+85
| | | | algorithm for limitMotorUp that relies on going up when not colliding rather than distance from ground. Add parameter for turning on and off embedded source vehicle debugging.
* BulletSim: remove double application of buoyancy. Centralize computation of ↵Robert Adams2013-01-111-19/+23
| | | | buoyancy. Add motor angular debugging controls.
* BulletSim: Fix hover height (boats float at the correct level).Robert Adams2013-01-081-6/+10
| | | | Fix problem of vehicles going crazy when backing up.
* BulletSim: improve vehicle angular banking and deflection computation. ↵Robert Adams2013-01-071-19/+18
| | | | Rotate angular correction forces to be world relative rather than vehicle relative.
* BulletSim: update DLLs and SOs with better debugging output.Robert Adams2013-01-061-1/+3
| | | | | Add definition of hand crafted avatar mesh. Not used yet. Comments and cleanup.
* BulletSim: complete movement of BulletSimAPI functions to BSAPITemplate.Robert Adams2012-12-311-2/+2
| | | | Update BulletSim DLLs and SOs with simplier step function interface.
* BulletSim: nearly complete in conversion from BulletSimAPI to BSAPITemplate. ↵Robert Adams2012-12-311-6/+6
| | | | Only initialization and debug fuctions left.
* BulletSim: another round of conversion: dynamics world and collision object ↵Robert Adams2012-12-311-5/+5
| | | | functions.
* BulletSim: Parameterize nominal frame rate (55) and add parameters to ↵Robert Adams2012-12-271-0/+6
| | | | dynamially turn on/off detailed, unmanaged data dumping of prims and vehicles.
* BulletSim: make llBuoyancy work. For some reason, Bullet resets anRobert Adams2012-12-251-0/+3
| | | | | object's individual gravity to the world gravity when the object is added to the physical world.
* BulletSim: repair vehicle problems introduced in previous 'improvements'. ↵Robert Adams2012-12-211-9/+28
| | | | Fix line endings in BSParams.
* BulletSim: Move all the parameter variables, tables and get and fetch logic ↵Robert Adams2012-12-211-1/+1
| | | | to a separate, static class for easier addition and to remove all that bulk from the BSScene class.
* BulletSim: fix incorrectly defined property changed flag.Robert Adams2012-12-201-3/+1
|
* BulletSim: replace use of funky nullable values for vehicle property update ↵Robert Adams2012-12-201-26/+43
| | | | control (m_known* stuff). Bitmaps will be quicker to test and to clear.
* BulletSim: angularMotorUp working again (seems a little slow as it takes ↵Robert Adams2012-12-201-21/+44
| | | | longer than timescale to correct, but getting better). Disabled angularDeflection (need to resolve interactions between angular corrections). Update TODO list.
* BulletSim: improve angularVerticalAttraction calculation to compute angular ↵Robert Adams2012-12-181-18/+15
| | | | correction velocity rather than estimating correction (excuse to use trig functions).