| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
heartbeat timestep when running the physics engine on a separate
thread. This reduces the occurance of heartbeats that happen when
there is no physics step which is seen as vehicle jerkyness.
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
if the mesh asset specifies physics hulls, BulletSim will fetch and
use same rather than approximating the hulls. If physics hulls are not
specified, the representation will fall back to the regular physics mesh.
|
|
|
|
|
|
|
|
|
|
|
| |
which recompute GImpact shape bounding box after creation as Bullet
doesn't do that itself (something it does for nearly every other shape).
Now, physical prims without cuts become single mesh convex meshes. Physical
prims with cuts become GImpact meshes. Meshes become a set of convex
hulls approximated from the mesh unless the hulls are specified in the
mesh asset data. The use of GImpact shapes should make some mechanical
physics more stable.
|
|
|
|
|
| |
Another parameter for vehicle operation tuning.
Default to <1,1,1> which means nothing is different under normal use.
|
|
|
|
| |
Add debugging messages for hull asset use.
|
|
|
|
| |
Default to 'off' as it needs debugging.
|
|
|
|
|
|
|
|
| |
This reverts commit 2fd8819a043269f9308cb46c71893e6eb35a426e.
Remove this code until I can figure out why the references that are
clearly in prebuild.xml doesn't work for the
'using OpenSim.Region.Physics.Meshing' in BSShape.cs.
|
|
|
|
| |
Default to 'off' as it needs debugging.
|
|
|
|
|
| |
for prims that have cuts or holes. Default logic to 'off' as it
needs debugging.
|
|
|
|
| |
avatar standing on ground view better and enables tuning.
|
|
|
|
| |
Output messages on features disabled when using BulletXNA.
|
|
|
|
| |
specifications required for simple properties with defaults.
|
|
|
|
| |
Parameter added to enable/disable this feature.
|
|
|
|
| |
changes.
|
|
|
|
|
| |
of both position change and up force that move avatars over barrier.
Default parameters are for steps up to 0.5m in height.
|
|
|
|
| |
totally debugged. Updated DLLs and SOs with more debugged HACD library code.
|
|
|
|
|
|
|
|
| |
The symptom was exceptions while creating physical terrain.
Reduce default terrain mesh magnification to 2 from 3 because the
higher resolution uses a lot of memory and doesn't solve the terrain
smoothness for vehicles.
Added comments here and there and improved some debugging log messages.
|
| |
|
|
|
|
| |
hull count for simple (non-cut prims) meshes.
|
|
|
|
|
| |
TerrainMeshMagnification controls number of vertices generated per
heightmap point. Default is 3.
|
|
|
|
| |
contact processing threshold for static object as well as mesh terrain.
|
| |
|
|
|
|
|
| |
regions when there are no region neighbors.
Add some terrain location processing routines to support above.
|
|
|
|
| |
maximum velocity and angular velocity values for prims.
|
|
|
|
| |
to eliminate some of the "cannot find terrain height" warning messages.
|
|
|
|
| |
(like vectors or quaternions).
|
|
|
|
|
|
|
|
|
|
|
| |
funny unit that is 100 times real density (default 1000).
Fix avatar drifting slowly when stationary flying.
Fix for physical prims getting corrected for being under terrain when it was
just its geometric center that was below terrain.
Add PreUpdatePropertyAction allowing plugable modifiction of phys
parameters returned from Bullet.
Fix an exception setting GravityMultiplier on initialization.
Update DLLs and SOs for good measure (no functional change).
|
|
|
|
| |
DLLs and SOs for setting same.
|
|
|
|
| |
variables rather than own local varaibles.
|
| |
|
|
|
|
| |
default. This should fix the invisible barrier in sculptie doorways bug.
|
|
|
|
| |
and, for the moment, default to 'off'.
|
|
|
|
|
|
|
|
|
| |
invisible barriers in sculptie doorways (Mantis 6529).
Bump up level-of-detail for physical meshes to 32 (the max). This
fixes the invisible barriers that showed up in prim cut arches.
NOTE: the default LOD values are removed from OpenSimDefaults.ini.
If you don't change your OpenSimDefaults.ini, you will continue
to see the arch problem.
|
|
|
|
| |
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.
|
|
|
|
|
| |
Increase terrain collision margin to help vehicles from tunneling
into same.
|
|
|
|
|
|
| |
Disable vertical attraction for vehicles by default (for the moment).
Fix bug where vehicle would go crazy when velocity got above a
certain speed.
|
|
|
|
| |
on the ground. Set defaults for vehicle factors to one. Debug logging changes.
|
|
|
|
| |
and angular force factors now default to less than 1 (0.2) vehicle friction and restitution now default to low values
|
|
|
|
|
| |
contact processing threshold since the first didn't solve tunneling
problems but used resources and the latter caused instabilities.
|
|
|
|
|
|
| |
Conflicts:
OpenSim/Region/Physics/BulletSPlugin/BSPrim.cs
|
|
|
|
|
| |
Pass through old angular velocity making for smoother transitions.
Remove some old kludges for angular motion (damping and rotvel suppression).
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
to the documented maximum from the outragious number previously.
|
|
|
|
|
| |
and enable friction computation caching. Remove dangerous BulletSim
settings from OpenSimDefaults.ini.
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
| |
It looks like BulletSim and ODE rely on penetration correction to cause
the avatar to move up and thus allowing walking up stairs. Object
penetration was minimized for walking and flying (so one doesn't go
through walls) and this stopped stairs from working. This commit
introduces avatar movement code to check for collisions at the
feet while walking and attempts to raise the avatar for the steps.
Not yet perfect but movement is better.
|
|
|
|
|
| |
functions. If values set from console, the functions are called. Looking
for why the collision pools fill up with unnecessary stuff.
|
|
|
|
| |
every so many frames. Default to off.
|