| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
than ground level. This makes boats float at water level better but not perfectly. There probably needs to be some interaction between HOVER and LIMIT_MOTOR_UP.
|
|
|
|
|
|
|
|
|
| |
dumping of physical vehicle parameters (out of Bullet) on each
simulation step and to optionally scale vehicle angular velocity
by the time step. The latter looks to be part of a difference
between angular parameters for ODE and BulletSim. SL docs say
angular velocity is measured in radians/timeScale. Not sure if this
is different than what ODE does.
|
|
|
|
| |
BSDynamics to make velocity vs force calculation clearer.
|
|
|
|
|
|
| |
linearMotorUp and related vehicle forces.
Fixed problems with downward vehicle position correction forces being too large.
Add vehicle collision flag so can sense whether vehicle is on the ground.
|
|
|
|
| |
VehicleAddForce to set of managed vehicle prim properties.
|
|
|
|
| |
forces commented out for the moment for debugging.
|
|
|
|
|
|
|
|
|
|
|
|
| |
static objects by more restrictive selection of objects that collide
with static objects.
Rename collision mask fuctions from 'filter' to 'group' so it is clear
what is being set.
Rename BulletSimAPI.SetCollisionFilterMask() to SetCollisionGroupMask to match above.
Restore passing of time step to linear and angular motion component routines.
Use buffering vehicle physical parameter get/set routines consistantly.
Make range enforcement clearer by using ClampInRange() function for parameter setting.
Remove commented out experimental vehicle calculations.
|
|
|
|
| |
absolute collections.
|
|
|
|
| |
code did not return the restoring difference but the current value. Remove unused commented out code.
|
|
|
|
| |
grouped better in the log output.
|
|
|
|
| |
updated at the end of the vehicle simulation step and the push of the physics property update event only happens if the properties are actually changed.
|
|
|
|
| |
DISABLE_SIMULATION to ISLAND_SLEEPING. Update DLLs and SOs to add DumpActivationInfo2 function.
|
|
|
|
| |
Bullet will scale the movement by the time slice. Restore LIMIT_MOTOR_UP to definitition of BOAT simce some vehicle engines use it even for land vehicles. Push vehicle parameter updates through the regular property update to solve vehicles floating off when they should be stopped.
|
|
|
|
| |
'using' requirements so testing framework is less complicated.
|
|
|
|
| |
vehicles being orbited.
|
|
|
|
| |
TYPE_BOAT definition.
|
| |
|
|
|
|
| |
enabling external calibration routines and unit tests.
|
|
|
|
| |
enabling external calibration routines and unit testing.
|
| |
|
|
|
|
| |
angular velocity.
|
|
|
|
| |
same. Rename the angular forces and add comments to match MoveAngular to the form of MoveLinear.
|
|
|
|
| |
LIMIT_MOTOR_UP contribution a velocity and not a force.
|
|
|
|
|
|
|
|
|
|
|
| |
Properly limit *_MOTOR_DECAY_TIMESCALE to 120 as per specs.
Invode BSDynamics.Refresh() when vehicle type is changed. Previously
the vehicle properties weren't getting set because the physical
properties were set before the vehicle type was set.
Add a "use name" to BSMotors for identification while debugging.
Correct current and target confusion in BSVMotor design.
Rename CurrentValueReductionTimescale to FrictionTimescale.
Event more detailed logging.
|
|
|
|
| |
public. Add error logging for the detail log writer so a message is output when it cannot write to the specified logging directory. Modify friction defaults to be closer to ODE's values. Add new collision margin and vehicle angular damping parameters.
|
|
|
|
| |
rather than just storing it in the variable
|
|
|
|
|
|
|
|
| |
The problem left is that the vehicle sitting on something needs
to press down for gravity and what its sitting on pushes up
so the vehicle does not penetrate. The effect is Bullet calculates
a lot of random angular motion for the vehicle. Various schemes
of damping and zeroing has not resolved the problem.
|
|
|
|
|
| |
Remove all compilation warnings (mostly 'protected' in sealed classes.)
Add the dynamicAabbEnable parameter to creation of compound shapes.
|
|
|
|
| |
of BSLinksetCompound.
|
|
|
|
|
|
| |
Add AddTorque() method to BSPrim. Remove some manual motor actions
in computing angular force (will eventually be replaced with motor class).
Remove some experimental changes.
|
| |
|
| |
|
|
|
|
| |
party license and contributor in for for Aurora-Sim project for physics code.
|
|
|
|
| |
assets weren't already in the cache. Comment cleanups.
|
| |
|
|
|
|
| |
taint-time specification to new AddForce().
|
|
|
|
|
|
|
|
|
|
| |
Update BSDynamics to use same (don't want to delay updates til next taint-time.
Suppress queuing a taint update for position and orientation calls if value
does not change.
Move Bullet timing statistics call from C# back to C++ code.
Throttle taints per simulation step and add parameter to set.
By default, don't create hulls for physical objects. Add a
parameter to turn on and off.
|
|
|
|
|
|
|
|
| |
Properly remove and restore linkage constraints when upgrading
a prim's mesh to a hull.
Lots more debug logging.
Definitions and use of Bullet structure dumping.
Centralize detail logging so a Flush() can be added for debugging.
|
|
|
|
| |
no lag between what the vehicle code sees and what the physics engine is using.
|
| |
|
| |
|
|
|
|
|
|
|
| |
pointers at runtime and at taint-time. Now passes the body into the
taint.
Vehicles zero inertia when active to eliminate Bullet's contribution
to vehicle motion.
|
|
|
|
|
|
| |
and into the parent class BSPhysObject.
Rework collision logic to enable extra collision after done colliding.
Rename 'Scene' to 'PhysicsScene' to differentiate it from the simulator 'Scene'.
|
| |
|
|
|
|
| |
setting. There is no reason these should be using the simulation time interval for parameter calculation.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Many changes to BSDynamic for readability and commentary.
Linkset hacking for vehicles: don't over mass the root prim.
Add parameter for link constraint solver iterations.
Correct uses of timestep in timescale calculations for vehicles.
Reorganize code/logic for making objects static and dynamic for readability
and use of API2.
Changed most calls in BSPrim to use API2 calls (the new way).
Avatars do not generate default Bullet collision events but do call up
to the simulator for every avatar. Reduces overhead.
Objects added to collision list only if they are processing collisions.
Reduces overhead especially for large numbers of avatars.
Generalize call for water height to GetWaterHeightAtXYZ().
Catch and correct exception getting terrain height when out of bounds.
Correct race condition in Terrain Manager where creation wasn't at taint-time.
Add API calls for constructing compound shapes.
Move NeedsMeshing() logic into object class.
Reorganize logic for object meshing to reduce rebuilding of meshs/hulls.
|
|
|
|
|
|
|
|
|
| |
Moved all terrain code out of BSScene and into new BSTerrainManager.
Added logic to manage multiple terrains for mega-regions.
Added new functions to BulletSimAPI to match the library.
Moved all of the terrain creation and setup logic from C++ code to C# code.
The unused code has not yet been removed from either place. Soon.
Moved checks for avatar above ground and in bounds into BSCharacter.
|
| |
|
|
|
|
| |
for the same bits and it makes the code less complicated.
|
|
|
|
| |
and then commenting out most of the additions.
|