| Commit message (Collapse) | Author | Age | Files | Lines |
|\ |
|
| |
| |
| |
| | |
This is moved into ScenePresence for now as a general facility
|
|\ \
| |/
| |
| |
| | |
Conflicts:
OpenSim/Region/Framework/Scenes/Scene.cs
|
| |
| |
| |
| |
| |
| |
| |
| | |
used by Autopilot coming from the client side.
I thought that I had implemented this but must have accidentally removed it.
Adds a regression test to detect if this happens again.
Temporarily disables automatic landing of NPC at a target. Will be fixed presently.
|
|\ \
| |/
| |
| |
| | |
Conflicts:
OpenSim/Region/Framework/Scenes/ScenePresence.cs
|
| |
| |
| |
| |
| |
| |
| | |
This stops the npc walking backwards if the target is directly behind.
This means that the npc no longer returns to its original rotation once movement has finished.
If you want this behaviour, please store and reset the original rotation after movement.
This is somewhat to address http://opensimulator.org/mantis/view.php?id=5678
|
|\ \
| |/ |
|
| | |
|
| |
| |
| |
| | |
This is overkill for some tests since they dont' need all the modules, but I think the gain in code readability is worth it
|
| |
| |
| |
| | |
attachment and npc tests
|
| |
| |
| |
| | |
These should be identical. However, the item isn't available when rezzing npc attachments.
|
| | |
|
|\ \
| |/ |
|
| |
| |
| |
| | |
It's never possible for SOG to have no RootPart, except in the first few picosends of the big bang when it's pulled from region persistence or deserialized
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
The approach here, as in other parts of OpenSim, is to return a copy of the list rather than the attachments list itself
This prevents callers from forgetting to lock the list when they read it, as was happening in various parts of the codebase.
It also improves liveness.
This might improve attachment anomolies when performing region crossings.
|
| |
| |
| |
| | |
This adds an incomplete IScenePresence to match ISceneEntity
|
| |\
| | |
| | |
| | |
| | | |
Conflicts:
OpenSim/Region/Framework/Scenes/SceneManager.cs
|
| | |
| | |
| | |
| | |
| | | |
This meant punching in another AddUser() method in IUserManagement to do a direct name to UUID associated without the account check (since NPCs don't have accounts).
May address http://opensimulator.org/mantis/view.php?id=5645
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
removed from the scene.
This is done by introducing a PresenceType enum into ScenePresence which currently has two values, User and Npc.
This seems better than a SaveAttachments flag in terms of code comprehension, though I'm still slightly uneasy about introducing these semantics to core objects
|
| | |
| | |
| | |
| | |
| | |
| | | |
previous attachments from the scene.
Addresses http://opensimulator.org/mantis/view.php?id=5636
|
| | |
| | |
| | |
| | |
| | |
| | | |
Add "shutdown" message when removing region.
From a patch submitted by Michelle Argus.
Thanks Michelle
|
| | |
| | |
| | |
| | | |
status, rather than remaining silent if it was already on/off
|
| | |
| | |
| | |
| | | |
textures (which are already stored permanently)
|
| | |
| | |
| | |
| | | |
Needed to hook up the Close() function in the NPCAvatar IClientAPI implementation, which [unfortunately] is still needed
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | | |
can just use the currently set Rotation
looks like I spoke to soon about eliminating jerkiness on "go here"/autopilot. It's still there.
|
| | |
| | |
| | |
| | | |
eliminate the second setting in AddNewMovement()
|
| | |
| | |
| | |
| | |
| | |
| | | |
after finishing their movement. This also fixes judder after an avatar has finished "go here"/autopilot movement in a viewer.
This meant reseting the SP.AgentControlFlags since the Animator uses these to determine the correct default animation.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Default for this function is now not to automatically land.
This allows better control by scripts when an avatar is going to be landing on a prim rather than the ground.
Stopping the avatar involves faking a collision, to avoid the pid controller making it overshoot.
A better approach would be to gradually slow the avatar as we near the target
|
| | |
| | |
| | |
| | |
| | | |
this is to allow walking on prims. it will be up to the script writer to be sure that there is a continuous path.
currently implemented in osNpcMoveToTarget(), but none of this is final.
|
| | | |
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | | |
agent
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
storage.
This works by serializing and deserializing NPC AvatarAppearance to a notecard in the prim inventory and making the required baked textures permanent.
By using notecards, we avoid lots of awkward, technical and user-unfriendly issues concerning retaining asset references and creating a new asset type.
Notecards also allow different appearances to be swapped and manipulated easily.
This also allows stored NPC appearances to work transparently with OARs/IARs since the UUID scan will pick up and store the necessary references from the notecard text.
This works in my basic test but is not at all ready for user use or bug reporting yet.
|
| | |
| | |
| | |
| | | |
This seems to make more sense as we can get SP.ControllingClient
|
| | | |
|
| | | |
|
| |/ |
|
| |
| |
| |
| |
| |
| | |
when they get there.
This doesn't help where the target is a prim surface. In these situations, it might be better to provide manual overrides so the script can control whethre an avatar flys there/lands, etc.
|
| | |
|
| | |
|
| |
| |
| |
| | |
where needed instead of passing in a flag
|
| |
| |
| |
| | |
classes can use it.
|
| |
| |
| |
| |
| |
| |
| | |
target, move it directly to the target.
This makes the movement exact. Regression test changed to check avatar reaches exact target.
Also has the nice side effect of making NPC animations continue to work after the first movement (which wasn't working). However, avatar still pauses in mid-stride
|
| | |
|
| |
| |
| |
| | |
consistency. Improve method doc.
|
| |
| |
| |
| | |
extends npc move to regression test to check stop after sufficient sim updates
|
| |
| |
| |
| | |
INPCModule
|