| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
| |
script wait event (llSleep(), etc.)
This makes use of EventWaitHandles since various web references indicate that Thread.Interrupt() can also cause runtime instability.
If co-op termination is enabled, then termination sets the wait handle instead of waiting for a timeout before possibly aborting the thread.
This allows the script to cleanly terminate if it's in a llSleep/LL function delay or the next time it enters such a wait without any timeout period.
Co-op termination is not yet testable since checking for termination request within loops that never trigger a wait is not yet implemented.
|
|
|
|
|
|
|
|
| |
pass down IScriptInstance instead.
This is to allow the future co-operative script thread terminate feature to detect and act upon termination requests.
This splits the assembly and state loading out from the ScriptInstance() constructor to a separate Load() method
in order to facilititate continued script logic regression testing.
|
|\ |
|
| |
| |
| |
| |
| | |
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.
|
| |
| |
| |
| | |
rather than just saying it happened.
|
| |
| |
| |
| | |
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.
|
| | |
|
|/
|
|
| |
instead of sometimes but not always looking it up.
|
|
|
|
|
|
|
| |
the user before logout instead of wrongly removing the script early.
This workaround relies on the fact that a closing client goes inactive before the attachments derez calls happen.
This reverts the change to remove scripts too early instead of stopping them, since the the two step stop then remove is necessary to execute the detach event.
|
|
|
|
|
|
|
| |
This involves making Attachments module listen for start/stop script changes.
It also involves removing the script from the region on detach in the same manner as every other DeleteSceneObject() call rather than simply stopping it
This is necessary tue to the bad assymetry of start and stop script triggers but it appears to be the correct behaviour anyway, as detached objects are completely gone from the sim.
Not just in a state where their scripts have been stopped.
|
|
|
|
|
|
|
| |
via the viewer estate dialog stopped working.
Forgot to register the new interface.
Also removes some code which got included by adpating an existing module.
|
| |
|
|
|
|
| |
scene <key> <value>" to "debug scene set <key> <value>" to accomodate future settings
|
|
|
|
|
|
| |
periodic backup
This is rather than making unnecessary duplicate checks that the SOG later performs again.
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
disable periodic scene backup. For debug purposes.
If false, scene is still saved on shutdown.
|
|
|
|
| |
HGAssetBroker doesn't try to save back to the avatar's originating region
|
|
|
|
| |
Also, "show sensors" changes to "show script sensors".
|
| |
|
|\ |
|
| |
| |
| |
| | |
Fix problem of vehicles going crazy when backing up.
|
| |
| |
| |
| | |
match other scripts commands (and it's own short help text)
|
| | |
|
| |
| |
| |
| | |
This reverts commit 5561333668f61f043cdfc0733a4eb50a1bcfb14e.
|
|/
|
|
| |
This reverts commit a775931a0cec9f65748c6e20dd2695edcbe21b7f.
|
| |
|
| |
|
|
|
|
| |
work.
|
|
|
|
| |
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.
|
|
|
|
| |
box and not the complete mesh. Fill mesh physical objects are back.
|
|
|
|
|
| |
Implementation of non-vehicle hover but haven't tested it a lot.
Update TODO list.
|
| |
|
|
|
|
| |
change functionality but removes an oddity in computing the force.
|
|
|
|
| |
Not all there yet.
|
|
|
|
| |
Add BSFMotor.
|
|
|
|
| |
so it is clear what Bullet is actually doing with the set values.
|
|
|
|
| |
by new registrations thus causing multiple instances of an action.
|
|
|
|
|
| |
functions. If values set from console, the functions are called. Looking
for why the collision pools fill up with unnecessary stuff.
|