Dan Lake
|
9bc0419679
ODECharacter overrides TargetVelocity. No change to existing behavior
|
12 роки тому |
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.
|
12 роки тому |
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.
|
12 роки тому |
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.
|
12 роки тому |
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.
|
12 роки тому |
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.
|
12 роки тому |
Justin Clark-Casey (justincc)
|
f49897a419
Clamp ODE character velocity. Make ODE falling character 54m/s by default.
|
12 роки тому |
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.
|
12 роки тому |
Justin Clark-Casey (justincc)
|
8b035dc3c7
Restrict accessible of ODECharacter Shell and Body. Add method doc and some error log lines.
|
13 роки тому |
Dan Lake
|
41b02a7208
Remove unused SetAcceleration and add set on Acceleration parameter
|
13 роки тому |
Justin Clark-Casey (justincc)
|
8013c0d2f5
Stop pointlessly setting the m_colliderarr[] to false in the ODECharacter constructor
|
13 роки тому |
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()
|
13 роки тому |
Justin Clark-Casey (justincc)
|
937c06db54
Code cleanup related to ScenePresence.PhysicsActor and OdeScene/OdeCharacter
|
13 роки тому |
Justin Clark-Casey (justincc)
|
b785f204ce
remove some mono compiler warnings
|
13 роки тому |
Justin Clark-Casey (justincc)
|
daf99f8c0a
slightly simplify OdeScene.Simulate() by removing bool processtaints, since we can inspect count of taint lists instead.
|
13 роки тому |
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.
|
13 роки тому |
Justin Clark-Casey (justincc)
|
e67ba0ad06
rename ODECharacter.AvatarGeomAndBodyCreation() -> CreateOdeStructures() to match existing DestroyOdeStructures()
|
13 роки тому |
Justin Clark-Casey (justincc)
|
063f0f5d97
refactor: Eliminate one line ODECharacter.doForce() method for code clarity
|
13 роки тому |
Justin Clark-Casey (justincc)
|
225b925f4e
Comment out calls to OdeScene.waitForSpaceUnlock() since that method does nothing right now
|
13 роки тому |
Justin Clark-Casey (justincc)
|
54789706f4
Reduce complexity of OdeScene.Simulate() by fully removing bad characters at point of detection rather than later on.
|
13 роки тому |
Justin Clark-Casey (justincc)
|
3becda919e
move geom/actor map maintenance into DestroyODEStructures()/AvatarGeomAndBodyCreation().
|
13 роки тому |
Justin Clark-Casey (justincc)
|
4faac1f090
When changing avatar size in ODE, remove the old actor from the name and actor maps
|
13 роки тому |
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.
|
13 роки тому |
Justin Clark-Casey (justincc)
|
cead87005b
Have ODECharacter and ODEPrim both use PhysicsActor.Name instead of maintaining their own properties
|
13 роки тому |
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!
|
13 роки тому |
Justin Clark-Casey (justincc)
|
f7b8c54c24
Add comment for experimental effect of removing the Thread.Sleep(20) in ODEPrim.changevelocity()
|
13 роки тому |
Justin Clark-Casey (justincc)
|
ccca6ba935
Stop llPushObject() from causing problems by adding force via a taint rather than directly.
|
13 роки тому |
Justin Clark-Casey (justincc)
|
9fdd1753fa
Add taint target velocity for ODECharacters as is already done for ODECharacter position and position and velocity for ODEPrims.
|
13 роки тому |
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
|
13 роки тому |
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
|
13 роки тому |