aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Physics/BulletSPlugin/BSScene.cs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* BulletSim: fix small bug where everything looked like it was collidingRobert Adams2013-07-171-0/+3
| | | | before the first simulator step.
* BulletSim: make all the different angularVerticalAttraction algorithmsRobert Adams2013-07-081-2/+2
| | | | | | | | selectable from configuration paramters. Changed default algorithm to "1" from previous default as it seems to handle Y axis correction a little better. Add config file independent enablement of vehicle angular forces to make debugging easier (independent testing of forces).
* BulletSim: More tweaking on center-of-mass. Almost there. Changes have no ↵Robert Adams2013-07-061-1/+0
| | | | effect if LinksetOffsetCenterOfMass=false (the default).
* BulletSim: add the reset of the last commit for flush log file problems.Robert Adams2013-06-301-1/+1
| | | | Fix small typo in one log message.
* BulletSim: fix an occasional crash with flushing log files.Robert Adams2013-06-301-4/+2
|
* BulletSim: add failure flag for meshing failure vs asset fetch failureRobert Adams2013-06-101-2/+2
| | | | | | so error messages make more sense. Change some BulletSim status log messages from WARN to INFO. Update TODO list.
* BulletSim: experimental movement of physics execution off of heartbeatRobert Adams2013-06-011-72/+199
| | | | | | | | | | thread. Off by default until more testing. Setting "[BulletSim]UseSeparatePhysicsThread=true" causes the physics engine to be called on its own thread and the heartbeat thread only handles the reporting of property updates and collisions. Physics frame rate is about right but physics execution time goes to zero as accounted by the heartbeat loop.
* BulletSim: add gImpact shape type. Add logic to use gImpact shapeRobert Adams2013-05-211-0/+2
| | | | | for prims that have cuts or holes. Default logic to 'off' as it needs debugging.
* BulletSim: fix BulletSim crashing if there is no [BulletSim] sectionRobert Adams2013-05-171-0/+6
| | | | in any INI file. Update TODO list.
* BulletSim: use heightmap terrain when using BulletXNA.Robert Adams2013-05-131-0/+4
| | | | Output messages on features disabled when using BulletXNA.
* BulletSim: prims with no cuts created with single convex hull shape.Robert Adams2013-05-021-0/+3
| | | | Parameter added to enable/disable this feature.
* BulletSim: add Bullet HACD library invocation. Turned off by default as notRobert Adams2013-04-091-0/+1
| | | | totally debugged. Updated DLLs and SOs with more debugged HACD library code.
* BulletSim: convert BSDynamic to a BSActor and change BSPrim to setRobert Adams2013-03-311-1/+1
| | | | up the vehicle actor.
* BulletSim: rework parameter setting for different types of valuesRobert Adams2013-02-171-39/+15
| | | | (like vectors or quaternions).
* BulletSim: fix avatar bobbing or jiggling while stationary flying.Robert Adams2013-02-081-1/+1
| | | | Various comments and debugging message mods.
* BulletSim: include the linkage to the layered prim implementation. Separate ↵Robert Adams2013-02-081-2/+2
| | | | layers for physical (vs simulator) location displacement and linksets.
* Change passed PhysicsParameter value from float to the more general string valueRobert Adams2013-02-071-8/+33
|
* BulletSim: rework some parameter setting implementation moving functionality ↵Robert Adams2013-02-051-29/+29
| | | | that was in BSScene to BSParam. Remove unused parameters that were passed to the unmanaged code. Update DLLs and SOs for the new param block.
* BulletSim: first unit test: vehicle angular attractionRobert Adams2013-01-281-1/+1
|
* BulletSim: fix the trimming of colliders so only the top 25 are returned.Robert Adams2013-01-281-2/+2
|
* BulletSim: fix compile error from last commitRobert Adams2013-01-271-2/+2
|
* BulletSim: first attempt at reporting top collidersRobert Adams2013-01-271-1/+16
|
* BulletSim: remove exception that can happen when setting physics parameters ↵Robert Adams2013-01-241-2/+2
| | | | from the console.
* BulletSim: pass up and report the real collision penetration.Robert Adams2013-01-231-2/+3
|
* BulletSim: center-of-gravity linkset changes. Not working yet.Robert Adams2013-01-231-2/+2
| | | | | | Conflicts: OpenSim/Region/Physics/BulletSPlugin/BSPrim.cs
* BulletSim: allow changing position and rotation of a child of a linksetRobert Adams2013-01-211-4/+0
| | | | | without rebuilding the whole compound shape. Should make vehicles move smoother.
* BulletSim: remove unused MaxTaintsToProcessPerStep parameterRobert Adams2013-01-211-1/+0
|
* BulletSim: fix not moving physical objects below terrain to over terrain.Robert Adams2013-01-141-4/+13
| | | | | Add locking on register prestep action list preventing potential race conditions. Little comment and formatting changes.
* BulletSim: add osGetPhysicsEngineType() LSL function and updateRobert Adams2013-01-111-2/+7
| | | | | | | | the physics engines to return the name that is specified in the INI file ("physics = XXX") as the type of engine. This os function is a little different than the others in that it does not throw an exception of one is not privilaged to use it. It merely returns an empty string.
* BulletSim: remove double application of buoyancy. Centralize computation of ↵Robert Adams2013-01-111-0/+1
| | | | buoyancy. Add motor angular debugging controls.
* BulletSim: add parameter to have Bullet output performance statisticsRobert Adams2013-01-011-0/+4
| | | | every so many frames. Default to off.
* BulletSim: move over and port the interface for BulletXNA.Robert Adams2013-01-011-1/+1
| | | | | | | | Copied BulletSNPlugin.BulletSimAPI to a new BulletSPlugin.BSAPIXNA.cs and then modifyed the latter to comply with the BSAPITemplate definition. Not totally debugged but the code is all there for an INI variable to select either unmanaged C++ Bullet or the C# version of Bullet.
* BulletSim: complete movement of BulletSimAPI functions to BSAPITemplate.Robert Adams2012-12-311-65/+62
| | | | Update BulletSim DLLs and SOs with simplier step function interface.
* BulletSim: nearly complete in conversion from BulletSimAPI to BSAPITemplate. ↵Robert Adams2012-12-311-1/+1
| | | | Only initialization and debug fuctions left.
* BulletSim: first round of conversion from direct BulletSimAPI interfacing by ↵Robert Adams2012-12-311-2/+8
| | | | BulletSim core to using the BulletSimAPITemplate. Physical object creation and destruction first.
* BulletSim: correct collision mask definition for linkset children.Robert Adams2012-12-271-0/+1
| | | | Remove unused code. Add comments and TODOs.
* BulletSim: Parameterize nominal frame rate (55) and add parameters to ↵Robert Adams2012-12-271-3/+8
| | | | dynamially turn on/off detailed, unmanaged data dumping of prims and vehicles.
* BulletSim: add physical parameter min/max constants in BSParam. I just don't ↵Robert Adams2012-12-271-9/+0
| | | | like raw numbers scattered around the code.
* BulletSim: scale the force for external AddForce by the simulationRobert Adams2012-12-261-0/+4
| | | | | step time so it will be applied completely the next step. The internal AddForce routine does not scale the force.
* BulletSim: Rename some of the interface structures (BulletWorld, ...)Robert Adams2012-12-241-2/+2
| | | | | | | | to get ready for... Start creation of BulletAPITemplate. This defines the abstract interface functions. Following commits will move over to the new interface. This will enable switching between the managed and unmanaged version of Bullet.
* BulletSim: remove post step one-time taints (doesn't make any sense). Rename ↵Robert Adams2012-12-221-82/+30
| | | | pre and post step event invocation routines to Trigger* to be consistant. Remove old, unused code.
* BulletSim: remove all special vehicle code from BSScene. Replace per-frame ↵Robert Adams2012-12-211-81/+14
| | | | updates for vehicles with per-frame action registration. One fewer special case.
* BulletSim: repair vehicle problems introduced in previous 'improvements'. ↵Robert Adams2012-12-211-1/+1
| | | | Fix line endings in BSParams.
* BulletSim: Move all the parameter variables, tables and get and fetch logic ↵Robert Adams2012-12-211-515/+34
| | | | to a separate, static class for easier addition and to remove all that bulk from the BSScene class.
* BulletSim: begin movement of parameters from pinned memory block to ↵Robert Adams2012-12-211-0/+10
| | | | variables all in managed code. Add note to TODO list to remember to do the rest. Other updates to TODO list.
* BulletSim: apply friction to linear and angular motion before returning ↵Robert Adams2012-12-171-6/+0
| | | | advanced motor value. This seems to be the problem with BulletSim vehicles turning too quickly. Also removed the configuration parameter that controlled the timestep scaling kludge for angular velocity that was added to research the question of quick turning.
* BulletSim: fix vehicles going underground when unsat. Problem was that, when ↵Robert Adams2012-12-171-1/+1
| | | | doing unsit, the order of operations on the prims and the vehicle is very chaotic and not in a good order so the root prim was being left physical and thus it fell for a bit. Also changed default of velocity scaling to be closer to the movement standard.
* BulletSim: add parameter to UpdateProperties call into the linkset so ↵Robert Adams2012-12-161-3/+7
| | | | changes from the physics engine can be differentiated from changes made by the user. This eliminates a linkset rebuild loop. Also add logic to not rebuild or freak out when the object/linkset crosses a terrain boundry.
* BulletSim: remove some errors on shutdown by moving terrain destruction ↵Robert Adams2012-12-161-2/+7
| | | | until after physical object destruction. TerrainManager also made disposable and that feature used.
* BulletSim: non-functional commenting and reorganization of material ↵Robert Adams2012-12-121-0/+1
| | | | attribute specifications.