| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
are on the ground. Makes them a little more stable.
|
|
|
|
|
| |
Sometimes settling of a vehicle from gravity introduces small
velocities that need to be kept.
|
|
|
|
|
| |
contact processing threshold since the first didn't solve tunneling
problems but used resources and the latter caused instabilities.
|
|
|
|
|
| |
below terrain. If the position is being corrected because it is out
of bounds, all other movement rules are out the window.
|
|
|
|
| |
from the console.
|
|
|
|
| |
BulletXNA.
|
|
|
|
|
|
| |
making the bulletXNA engine work again.
* The only thing that had an issue was when creating a new RigidBody, BulletXNA didn't know the type SimMotionState and the upcast type is unknown in the constructor. Therefore, I had to update the IMotionState with a new method 'SetBody'. All of the duplicated type information has been removed and BulletXNA is not relying on any non-standard types external to the library.
|
| |
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
| |
Conflicts:
OpenSim/Region/Physics/BulletSPlugin/BSPrim.cs
|
| |
|
| |
|
|
|
|
| |
and vehicles and clean up code by removing their kludgyness.
|
| |
|
|
|
|
|
| |
Pass through old angular velocity making for smoother transitions.
Remove some old kludges for angular motion (damping and rotvel suppression).
|
|
|
|
|
| |
without rebuilding the whole compound shape. Should make vehicles move
smoother.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
stopping walking. Consolidate movement tests into the one prestep motion action
|
|
|
|
| |
properly if the vehicle moves during vehicle actions.
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
BulletSPlugin using the BulletXNA Bullet physics engine. It also updates the BulletXNA library to be compatible with the changes. OpenSimDefaults has been updated to describe how to switch engines and terrain implementations.
|
| |
|
| |
|
|
|
|
|
|
|
| |
OpenSimulator is VERY sensitive to changes in avatar velocity and
will send an avatar update message when velocity changes more than
0.001m/s. This significantly reduces the number of avatar update messages by
smoothing the avatar velocity returned by Bullet.
|
|
|
|
|
| |
non-active. This turns off 'setForce', 'setTorque' and 'moveToTarget'
when the object is selected or made non-physical.
|
|
|
|
|
| |
can use to know if the object is currently active.
Code cleaning including use of Util.ClampV function.
|
| |
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
objects have been fetched.
Update TODO list with more work.
|
|
|
|
| |
to the documented maximum from the outragious number previously.
|
| |
|
|
|
|
|
| |
because the computations are wrong.
Add VehicleTorqueImpulse routines.
|
|
|
|
| |
Free pinned memory when physics engine is unloaded.
|
|
|
|
|
| |
and enable friction computation caching. Remove dangerous BulletSim
settings from OpenSimDefaults.ini.
|
|
|
|
|
| |
Add locking on register prestep action list preventing potential race conditions.
Little comment and formatting changes.
|
|
|
|
| |
Move physical prim above ground if it is underground. Previously tried to correct by applying and up force but the prim would never go through the ground.
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
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.
|
|
|
|
| |
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.
|
|
|
|
| |
buoyancy. Add motor angular debugging controls.
|
|
|
|
| |
remembering that the last asset fetch failed until the simulator resets the shape parameters.
|
|
|
|
| |
Fix problem of vehicles going crazy when backing up.
|
|
|
|
| |
Rotate angular correction forces to be world relative rather than vehicle relative.
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
|
|
|
|
| |
Add definition of hand crafted avatar mesh. Not used yet.
Comments and cleanup.
|