Justin Clark-Casey (justincc)
|
cd666a3d2c
Serialize calls to ODE Collide() function across OdeScene instances to prevent ODE crashes on simulators running more than one region.
|
13 jaren geleden |
Justin Clark-Casey (justincc)
|
356e8516f0
Restrict accessible of ODECharacter Shell and Body. Add method doc and some error log lines.
|
13 jaren geleden |
Dan Lake
|
2b19a112d9
Remove unused SetAcceleration and add set on Acceleration parameter
|
13 jaren geleden |
Justin Clark-Casey (justincc)
|
b3cfc5b76e
Stop pointlessly setting the m_colliderarr[] to false in the ODECharacter constructor
|
13 jaren geleden |
Justin Clark-Casey (justincc)
|
27644bcce6
Stop having to call SetHeight again in ScenePresence.AddToPhysicalScene() when we've already passed size information to the avatar at PhysicsScene.AddAvatar()
|
13 jaren geleden |
Justin Clark-Casey (justincc)
|
0a0e285919
remove some mono compiler warnings
|
13 jaren geleden |
Justin Clark-Casey (justincc)
|
8ab2d42143
slightly simplify OdeScene.Simulate() by removing bool processtaints, since we can inspect count of taint lists instead.
|
13 jaren geleden |
Justin Clark-Casey (justincc)
|
bba4577d88
Restore defects list. In hindsight, the reason for this is becuase we can't remove the character whilst iterating over the list.
|
13 jaren geleden |
Justin Clark-Casey (justincc)
|
f48431345b
rename ODECharacter.AvatarGeomAndBodyCreation() -> CreateOdeStructures() to match existing DestroyOdeStructures()
|
13 jaren geleden |
Justin Clark-Casey (justincc)
|
9c4597a00f
refactor: Eliminate one line ODECharacter.doForce() method for code clarity
|
13 jaren geleden |
Justin Clark-Casey (justincc)
|
b528150d16
Comment out calls to OdeScene.waitForSpaceUnlock() since that method does nothing right now
|
13 jaren geleden |
Justin Clark-Casey (justincc)
|
4a99619bc0
Reduce complexity of OdeScene.Simulate() by fully removing bad characters at point of detection rather than later on.
|
13 jaren geleden |
Justin Clark-Casey (justincc)
|
5bd27b7b22
move geom/actor map maintenance into DestroyODEStructures()/AvatarGeomAndBodyCreation().
|
13 jaren geleden |
Justin Clark-Casey (justincc)
|
8ea97cc608
When changing avatar size in ODE, remove the old actor from the name and actor maps
|
13 jaren geleden |
Justin Clark-Casey (justincc)
|
1850b778e2
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 jaren geleden |
Justin Clark-Casey (justincc)
|
5cd33f5e21
Have ODECharacter and ODEPrim both use PhysicsActor.Name instead of maintaining their own properties
|
13 jaren geleden |
Justin Clark-Casey (justincc)
|
dd3dc5cd91
Add taint target velocity for ODECharacters as is already done for ODECharacter position and position and velocity for ODEPrims.
|
13 jaren geleden |
Justin Clark-Casey (justincc)
|
9cd94ac6ec
tidy up OdeCharacter so that we just use OpenMetaverse.Vector3 assignment directly where possible, instead of transferring X, Y and Z components separately
|
13 jaren geleden |
Justin Clark-Casey (justincc)
|
2cc49d7d9a
Move position set from taint to logically better position at top of ODECharacter.ProcessTaints() though this makes no practical difference
|
13 jaren geleden |
Justin Clark-Casey (justincc)
|
69e11af475
Stop setting _position as well as m_taint_position in ODECharacter.Position
|
13 jaren geleden |
Justin Clark-Casey (justincc)
|
6c92b48143
Clear OdeCharacter CollisionEventUpdate when we subscribe or unsubscribe from collision events
|
13 jaren geleden |
Justin Clark-Casey (justincc)
|
127626edd8
Remove unused fields from CollisionEventUpdate
|
13 jaren geleden |
Justin Clark-Casey (justincc)
|
871f1d0ae7
For ScenePresence collision events, instead of creating a new CollisionEventsThisFrame every time we need to send some new ones, reuse the existing one instead.
|
13 jaren geleden |
Justin Clark-Casey (justincc)
|
7c409eff53
Remove the unused CollisionLocker from ODE
|
13 jaren geleden |
Justin Clark-Casey (justincc)
|
41e7e613a2
reduce access to ODECharacter methods to make code analysis easier. Eliminate redundant argument on ProcessTaints()
|
13 jaren geleden |
Justin Clark-Casey (justincc)
|
4ecd3fbff1
For now, stop passing timeStep into methods where it's not actually used.
|
13 jaren geleden |
Justin Clark-Casey (justincc)
|
32ba06a55c
More method doc and formatting changes. Makes DestroyOdeStructures() private
|
13 jaren geleden |
Justin Clark-Casey (justincc)
|
64c42a729a
refactor: move 3x copy/pasted ode structure removal code in ODECharacter into a DestroyOdeStructures() method
|
13 jaren geleden |
Justin Clark-Casey (justincc)
|
6f542f73d4
Stop the avatar stalling on its first boarder cross when using the ODE plugin
|
13 jaren geleden |
Justin Clark-Casey (justincc)
|
951ffad81e
If SP.MoveToTarget has been called with a force walk, begin by landing the avatar.
|
13 jaren geleden |