Dan Lake
|
9bc0419679
ODECharacter overrides TargetVelocity. No change to existing behavior
|
vor 12 Jahren |
teravus
|
764270a0d8
Add config option to plant avatar where they are reducing avatar avatar 'pushability' av_planted see OpenSimDefaults.ini. Use when you have unruly visitors that rudely push each other around. Still allows a small amount of movement based on the avatar movement PID controller settings. You can increase the spring tension in the PID controller and really prevent any movement if you would like.
|
vor 12 Jahren |
Justin Clark-Casey (justincc)
|
1a7be7b00e
Fix a regression where we stopped removing avatars from collision event reporting on logout, rather than stopping clearing their collision events.
|
vor 12 Jahren |
Justin Clark-Casey (justincc)
|
6501b1b1bb
refactor: move EventQueueGet path generation into common method. Rename some local variables in line with code conventions. Add commented out EQG log lines for future use.
|
vor 12 Jahren |
Justin Clark-Casey (justincc)
|
b18c8c8e78
Don't eagerly clear frame collision events when physics actors subscribe and unsubscribe from collisions, in order to avoid a race condition.
|
vor 12 Jahren |
Justin Clark-Casey (justincc)
|
86bd287b53
refactor: precalculate the fixed movement factor for avatar tilting (sqrt(2)) rather than doing it multiple times on every move.
|
vor 12 Jahren |
Justin Clark-Casey (justincc)
|
f49897a419
Clamp ODE character velocity. Make ODE falling character 54m/s by default.
|
vor 12 Jahren |
Justin Clark-Casey (justincc)
|
e20cf3789b
Serialize calls to ODE Collide() function across OdeScene instances to prevent ODE crashes on simulators running more than one region.
|
vor 13 Jahren |
Justin Clark-Casey (justincc)
|
8b035dc3c7
Restrict accessible of ODECharacter Shell and Body. Add method doc and some error log lines.
|
vor 13 Jahren |
Dan Lake
|
41b02a7208
Remove unused SetAcceleration and add set on Acceleration parameter
|
vor 13 Jahren |
Justin Clark-Casey (justincc)
|
8013c0d2f5
Stop pointlessly setting the m_colliderarr[] to false in the ODECharacter constructor
|
vor 13 Jahren |
Justin Clark-Casey (justincc)
|
c0ba99e5ad
Stop having to call SetHeight again in ScenePresence.AddToPhysicalScene() when we've already passed size information to the avatar at PhysicsScene.AddAvatar()
|
vor 13 Jahren |
Justin Clark-Casey (justincc)
|
937c06db54
Code cleanup related to ScenePresence.PhysicsActor and OdeScene/OdeCharacter
|
vor 13 Jahren |
Justin Clark-Casey (justincc)
|
b785f204ce
remove some mono compiler warnings
|
vor 13 Jahren |
Justin Clark-Casey (justincc)
|
daf99f8c0a
slightly simplify OdeScene.Simulate() by removing bool processtaints, since we can inspect count of taint lists instead.
|
vor 13 Jahren |
Justin Clark-Casey (justincc)
|
7480f2fd0e
Restore defects list. In hindsight, the reason for this is becuase we can't remove the character whilst iterating over the list.
|
vor 13 Jahren |
Justin Clark-Casey (justincc)
|
e67ba0ad06
rename ODECharacter.AvatarGeomAndBodyCreation() -> CreateOdeStructures() to match existing DestroyOdeStructures()
|
vor 13 Jahren |
Justin Clark-Casey (justincc)
|
063f0f5d97
refactor: Eliminate one line ODECharacter.doForce() method for code clarity
|
vor 13 Jahren |
Justin Clark-Casey (justincc)
|
225b925f4e
Comment out calls to OdeScene.waitForSpaceUnlock() since that method does nothing right now
|
vor 13 Jahren |
Justin Clark-Casey (justincc)
|
54789706f4
Reduce complexity of OdeScene.Simulate() by fully removing bad characters at point of detection rather than later on.
|
vor 13 Jahren |
Justin Clark-Casey (justincc)
|
3becda919e
move geom/actor map maintenance into DestroyODEStructures()/AvatarGeomAndBodyCreation().
|
vor 13 Jahren |
Justin Clark-Casey (justincc)
|
4faac1f090
When changing avatar size in ODE, remove the old actor from the name and actor maps
|
vor 13 Jahren |
Justin Clark-Casey (justincc)
|
898904d83d
When an ODECharacter is removed (e.g. when an avatar leaves a scene), remove the actor reference in OdeScene.actor_name_map rather than leaving it dangling.
|
vor 13 Jahren |
Justin Clark-Casey (justincc)
|
cead87005b
Have ODECharacter and ODEPrim both use PhysicsActor.Name instead of maintaining their own properties
|
vor 13 Jahren |
Justin Clark-Casey (justincc)
|
b6d83e9c0f
Stop OdePrim and OdeCharacter insanely overriding set LocalID to set their own private m_localID property but leaving get to return the then unset PhysicsActor.LocalId!
|
vor 13 Jahren |
Justin Clark-Casey (justincc)
|
f7b8c54c24
Add comment for experimental effect of removing the Thread.Sleep(20) in ODEPrim.changevelocity()
|
vor 13 Jahren |
Justin Clark-Casey (justincc)
|
ccca6ba935
Stop llPushObject() from causing problems by adding force via a taint rather than directly.
|
vor 13 Jahren |
Justin Clark-Casey (justincc)
|
9fdd1753fa
Add taint target velocity for ODECharacters as is already done for ODECharacter position and position and velocity for ODEPrims.
|
vor 13 Jahren |
Justin Clark-Casey (justincc)
|
ef8370fb8e
tidy up OdeCharacter so that we just use OpenMetaverse.Vector3 assignment directly where possible, instead of transferring X, Y and Z components separately
|
vor 13 Jahren |
Justin Clark-Casey (justincc)
|
a5ea9f8830
Move position set from taint to logically better position at top of ODECharacter.ProcessTaints() though this makes no practical difference
|
vor 13 Jahren |