intelvwi / DSG

Distributed Scene Graph
20 stars 13 forks source link

When avatars have attachments, too many update messages are sent from the physics engine #8

Closed dslake closed 11 years ago

dslake commented 11 years ago

The physics engine controls the avatar movement. It seems that when the avatar moves, an update is sent from the physics simulator for avatar position as it should be. Also, an update for GroupPosition is sent for every prim in the linksets of the attachments.

dslake commented 11 years ago

RegionSync should not send GroupPosition for attachments since their position is controlled by the avatar they are attached to. I've made this change. Another issue may still exist when a linkset moves that is not an attachment. It looks like the code already filters GroupPosition updates for prims that are not the root prim but the logs seem to indicate differently. I'll open Issue #9 for that and close this issue.