| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
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.
|
|
|
|
| |
to a separate, static class for easier addition and to remove all that bulk from the BSScene class.
|
|
|
|
| |
flying up forever. This doesn't fix the overall problem but keeps avatar flying from being totally unusable.
|
|
|
|
| |
to target velocity. Fails in incorporating physical world effects (gravity) so avatar doesn't fly correctly.
|
| |
|
|
|
|
|
|
| |
for the operation of BulletSim and those defintiions/structures defined
so they can be used in the unmanaged world.
Consolidate setting of collision flags so implementation is not scattered.
|
|
|
|
| |
Reworked size/scale logic so physical scale is kept in Bullet and physObject scale is the preferred size -- usually same as size but avatars are computed differently.
|
|
|
|
| |
setting properties after the destroy character taint.
|
|
|
|
|
|
|
|
|
| |
While fixing the above, add methods to physical body and shape pointer
wrapper so routines won't have to know that IntPtr.Zero means no
physical instance.
Fix problem with physical linksets failing after a few sits and
unsits by properly restoring child prom positions for compound
linksets after multiple selection and deselections.
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
| |
conflicts with PhysicsShape type defined in later libOMV
|
|
|
|
|
|
|
|
|
| |
Simple attempt to make avatars better shaped.
Replace parameter 'avatarCapsuleRadius' with 'avatarCapsuleWidth'
and 'avatarCapsuleDepth'.
More tweeking to avatar height calculation. A little better but
short avatar's feet are above the terrain and tall avatar's feet
are a little below the ground.
|
|
|
|
| |
having mesh avatars.
|
|
|
|
| |
getting simplified out of existance someday) and update all the references to that enum.
|
|
|
|
| |
ground. This solves the bouncing, short avatar problem (Mantis 6403).
|
|
|
|
| |
boundries.
|
|
|
|
| |
flag to ZeroMotion method. Update the references to those functions.
|
|
|
|
|
|
|
|
|
| |
Add compound shape creation and freeing in shape manager.
Add optional taint-time execution method and update code to use it.
Add API2 linkage for more compound shape methods (get num, get/remove by index, ...)
Modify perferred shape return so linkset children can have differet shapes than root.
Add Position and Orientation calls to linksets so children can be moved around by
the linkset by its own calculation. Allows for very general linkset implementations.
|
|
|
|
| |
MassRaw to RawMass. Fix BSShapeCollection to use Raw* for creating the body to eliminate exception from referencing the physical body before it has been created.
|
|
|
|
| |
available BSPhysObject varaiables. Fix line endings in BSLinksetCompound.
|
|
|
|
| |
of BSLinksetCompound.
|
|
|
|
| |
UpdatePhysicalMassProperties() function. Didn't add setMassRaw because assignment with side effect is dirty.
|
| |
|
|
|
|
| |
party license and contributor in for for Aurora-Sim project for physics code.
|
|
|
|
| |
Change terrain activation state to DISABLE_SIMULATION for better performance.
|
| |
|
|
|
|
|
|
| |
handling.
Refactor some names to make them available for the asset tracking and fetching.
|