| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
until it is fully configured. Another addition to fixing the
collisions stopping problem.
|
| |
|
|
|
|
|
|
|
|
| |
of race conditions and, especially, race conditions when an object is
removed and quickly re-added to a scene.
This hopefully reduces the occurance of problems when avatars TP within
a region -- the main problem being the loss of collisions.
|
|
|
|
|
|
|
| |
when Dispose() is called. This reduces chance of object leakage when
destroying objects.
Rearrange initialization and shut down of BSActorLockAxis so it is
consistant with other actors.
|
| |
|
|
|
|
|
|
|
|
| |
initialization race conditions reported in Mantis 6792.
When a region is initializing it seems that the prim initialization code
can be interrupted part way through then taints are processed for
prims that are not completely there.
|
| |
|
|
|
|
|
| |
This code is in the XNA module so it does not affect the normal
Bullet configuration .
|
|
|
|
| |
Mostly code left over from things that are not done that way anymore.
|
|
|
|
| |
AssemblyVersion("0.8.2.*")
|
| |
|
|
|
|
|
|
| |
This only bounds passed parameters as there is no good way of refusing
the parameter setting. This mostly means that passing NaN's won't
crash the simulator.
|
|
|
|
| |
addition coming.
|
| |
|
|
|
|
| |
math showing the odd PrimitiveBaseShape value rather than a constant.
|
|
|
|
|
|
|
| |
closer to SL. This change should address small floor edges acting like
walls, approaching a step at any angle (other than walking backwards)
will allow walking up, and reducing the avatar pop-up when going up
stairs.
|
|
|
|
|
| |
which seems to cause the tests to fail when compiled on the OpenSim
build system. It compiles and runs everywhere else. More research is needed.
|
|
|
|
| |
Whoever defined that structure was really into esoteric coding.
|
|
|
|
| |
compiling doesn't like it
|
|
|
|
|
|
| |
Change how physics engine is created in unit tests to resolve a lib reference problem.
Add ShapeInfoInfo class to collect info about the created physical shape
for debugging and unit test testing.
|
|
|
|
|
| |
Allows locking of prim/linkset relative moving in each of the linear
and angular axis. Limits on movement or rotation can be set.
|
| |
|
|
|
|
| |
clear. Add 'InternalScheduleRebuild() CHange rebuild code to call InternalScheduleRebuild() rather than ForceRebuild() to limit the scope of the changes made by the linkset.
|
|
|
|
| |
are not Incomplete and not waiting for assets. Change BSPrimLinkable to use AllPartsComplete.
|
|
|
|
| |
waiting for assets to load.
|
|
|
|
| |
BSPrim.Incomplete flag based on rebuild flags to say when an object is being rebuilt.
|
|
|
|
|
|
| |
calling ZeroMotion in SetPhysicalProperties() at all
SetPhysicalProperties is only called when adding a new character so it looks like there is no existing data to reset anyway.
|
|
|
|
| |
convert the m_log.DebugFormat() call back to the original DetailLog call
|
|
|
|
|
|
|
|
|
| |
when avatar enters the new region.
This commit addresses the following issues were causing velocity to be set to 0 on the new region, disrupting flight in particular
* Full avatar updates contained no velocity information, which does appear to have some effect in testing.
* BulletSim was always setting the velocity to 0 for the new BSCharacter. Now, physics engines take a velocity parameter when setting up characters so we can avoid this.
This patch applies to both Bullet and ODE.
|
|
|
|
|
|
|
|
| |
thread and run work in the jobengine from Watchdog to a WorkManager class.
This is to achieve a clean separation of concerns - the watchdog is an inappropriate place for work management.
Also adds a WorkManager.RunInThreadPool() class which feeds through to Util.FireAndForget.
Also switches around the name and obj arguments to the new RunInThread() and RunJob() methods so that the callback obj comes after the callback as seen in the SDK and elsewhere
|
|
|
|
|
|
|
|
|
| |
avatars collide. This is true by default.
This is implemented with a new collision type (PhantomToOthersAvatar) to potentially allow colliding and non-colliding avatars to be present in the same scene.
So there is no provision yet for giving avatars different collision types.
This commit replaces the temporary change in commit f3eaa6d8 where avatars would never collide when using BulletSim
This is equivalent to the av_av_collisions_off option in ODE.
|
|
|
|
|
|
|
| |
rather than a sleep.
In theory, there should be no difference between these mechanisms.
However, on at least Mono 3.2.8 waiting via an event appears to be much more accurate.
|
|
|
|
|
| |
Will only effect Windows or mono with a patch such as https://gist.github.com/justincc/31e52218d098529b4696 applied
For test purposes
|
|
|
|
| |
Need to do this for a test. Final implementation will be properly controlled through a property.
|
|
|
|
|
|
|
| |
unnecessary object update if the prim was not moving to target.
This involves making PhysicsActor.PIDActive get as well as set.
On physics components that don't implement this (all characters and some phys engines) we return false.
|
|\ |
|
| |
| |
| |
| |
| |
| | |
method is only run for an indepndent thread anyway.
Also remove bulletsim monitored thread from watchdog on shutdown.
|
| |
| |
| |
| | |
The cost is minimal (also done for scene loop) at the benefit of telling us if this thread simply stops for some reason.
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
watchdog.
This allows us to see the presence of the permanent thread via the "show threads" console comand.
Also adds the region name to the thread name.
|
|/
|
|
| |
BulletSim fixed constraint to not be confused with the native version.
|
|
|
|
| |
Fix for 7284 which is an enumeration exception when starting up a region.
|
|
|
|
|
|
| |
bulletsim physics is running in a separate thread.
This will also allow the "disable physics" setting in the region debug viewer dialog to work in this circumstance.
|
|
|
|
|
|
| |
constructed.
Add routine to check for failed and use that method rather than
checking individual state.
|
|
|
|
|
|
| |
complete with use of the Limit Roll Only Flag.
Signed-off-by: Robert Adams <misterblue@misterblue.com>
|
|
|
|
| |
child mesh is not available when building a linkset.
|
|
|
|
| |
has. Before this falling from really high caused the avatar to fall faster then the veiwer can handle and cause camera issues.
|
|
|
|
| |
from locking up when running BulletSim on a separate thread.
|
|
|
|
| |
child doesn't have a physical shape. Another attempt at fixing Mantis 7191.
|
|
|
|
|
|
|
| |
AvatarFlyingGroundMargin and AvatarFlyingGroundUpForce set to 5.0 and
2.0 respectively which seems to give about the same action as in SL.
Also moved force addition to before the velocity to force computation
so the upward velocity is properly applied to the avatar mass.
|