| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
in certain directions. The problem was really that the avatar capsule
orientation was being set incorrectly.
|
|
|
|
|
|
| |
you are running.
Signed-off-by: Robert Adams <Robert.Adams@intel.com>
|
|
|
|
| |
avatar standing on ground view better and enables tuning.
|
|
|
|
| |
changes.
|
|
|
|
| |
'm_physicsScene' to match coding conventions and reduce confusion.
|
|
|
|
| |
from BSShapeCollection. Using BSShape* classes to hold references to shape. Simplified shape dependency callbacks. Remove 'PreferredShape' methods and have each class specify shape type. Disable compound shape linkset for a later commit that will simplify linkset implementation.
|
|
|
|
| |
Fix a few enabling problems.
|
|
|
|
|
| |
physical object and into actors for setForce, setTorque, hover, lock
axis and avatar move.
|
|
|
|
|
|
| |
object. This will stop avatars from sliding down steep terrains
or objects while still allowing an avatar to be moved if standing
on a moving object.
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
regions when there are no region neighbors.
Add some terrain location processing routines to support above.
|
| |
|
|
|
|
| |
to eliminate some of the "cannot find terrain height" warning messages.
|
|
|
|
|
|
|
|
|
|
|
| |
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).
|
|
|
|
| |
simulator to update info.
|
|
|
|
| |
variables rather than own local varaibles.
|
|
|
|
| |
Various comments and debugging message mods.
|
|
|
|
| |
layers for physical (vs simulator) location displacement and linksets.
|
| |
|
|
|
|
|
| |
when individual child pos/rot changes were implementated a week or so ago.
Remove some passing of inTaintTime flag when it was never false.
|
|
|
|
| |
in the PhysicsActor base class.
|
|
|
|
|
|
|
| |
on a moving object.
Rearrange pre/post action subscription code to put more in locks.
Add meshmerizer params to BulletSimTestUtil scene creation (and fix line endings).
Rebuilt version of DLLs and SOs with cleaned up code and no profiling for sure.
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
Add locking on register prestep action list preventing potential race conditions.
Little comment and formatting changes.
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
| |
change functionality but removes an oddity in computing the force.
|
|
|
|
| |
Only initialization and debug fuctions left.
|
|
|
|
| |
functions.
|
|
|
|
| |
BulletSim core to using the BulletSimAPITemplate. Physical object creation and destruction first.
|
|
|
|
|
|
| |
did the right thing for stopping (speed reducing to zero), it prevented
movement from starting (speed increasing from zero). Will revisit
when the generalize PID motor is debugged.
|
|
|
|
|
|
|
| |
Looks like the viewer bombards the server with avatar orientation
information (we're talking several hundred a second) when the avatar
is being turned or when walking. This change just reduces the number
of 'set' calls into unmanaged code.
|
|
|
|
|
|
|
|
|
| |
asymmetrical avatar capsule work now that rotation is being passed
from the simulator. Turns out the Bullet capsule is just not very
functional: it doesn't scale properly, the implementation only half
does asymmetry and, in general, is hard to work with.
Avatar shape is about what it was before these changes.
Added initial data structures for avatar shape mesh.
|
|
|
|
| |
to implement the 'always run' feature.
|
|
|
|
|
| |
by moving the movement motor to a pre-step action and out of its
questionable previous home in UpdateProperties.
|
|
|
|
| |
individual sub-classes and up to parent BSPhysObject class.
|
|
|
|
| |
I did last time).
|
|
|
|
| |
only zeroing the movement motor in the UpdateProperties routine.
|
|
|
|
|
|
|
| |
Properly return root mass as mass of just the root prim rather
than the mass of the linkset. SOG has the logic to add the masses
together to get the linkset mass.
Update TODO list.
|
|
|
|
| |
up some usages. Disable motor when done.
|
|
|
|
| |
over time.
|
|
|
|
| |
Use same to implement setForce and setTorque so the values are restored at the beginning of each step (since Bullet zeros forces applied last step). Simplify implementation of AddForce and AddTorque by relying on the addition of forces in Bullet.
|