[sldev] movement within the client

John Hurliman jhurliman at wsu.edu
Sat Dec 29 13:31:37 PST 2007


Lawson English wrote:
> Stan Vernier wrote:
>> I'm looking into being able to control the avatar within the client 
>> and I'm trying to simulate the teleport script to move the avatar 
>> from point a to point b within the same region.  I can get the avatar 
>> to move from a to b, but the moment I try to move the avatar, it pops 
>> back to point a.  I tried sendPositionUpdate(), but it didn't work.  
>> Anyone got any suggestions?
>
> I suspect the server limits non-TP motion to no more than 10 meters 
> just like with LSL. You could fake a warppos thing I suppose.
>
>
> Lawson 

The client doesn't actually send positional movements to the server at 
all, it sends the equivalent of keypresses (a large bitflag integer in 
the AgentUpdate packet) and the server which has the physics engine 
calculates movement based on that and sends updates back to the client. 
The only way around this is to do a local teleport, but if there is a 
very large plot of land in the region with a landing spot/telehub, or 
the entire region has a telehub you have a problem. If you do find any 
way around this please keep the list updated with your findings as many 
people would be interested to know.

John


More information about the SLDev mailing list