Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0008926opensim[REGION] Specific OpenSim Modulepublic2021-08-06 04:202021-08-07 03:46
Reporterjwbruceshaw@gmail.com 
Assigned To 
PrioritynormalSeverityminorReproducibilityalways
StatusnewResolutionopen 
PlatformOperating SystemOperating System Version
Product Version0.9.1.0 
Target VersionFixed in Version 
Summary0008926: osTeleportAgent lookat parameter fails first time utilized, undocumented*
Description osTeleportAgent( ToucherID, SimAddress, LandingPoint, LookAt );

When you invoke this first time, you are facing a default direction. Any time after that, the parameter works.

Also, the parameter is undocumented. It appears to be...

vector LookAt = <1.0,1.0,0.0>; //change if wanted the direction where
vector S = <-1.0,-1.0,0.0>; //South
vector N = <1.0,1.0,0.0>; //North
vector W = <-1.0,1.0,0.0>; //West
vector E = <15.0,1.0,0.0>; //East

..but S is more of a SE etc. Not sure why E works.
Steps To ReproduceTeleport once, teleport again.
TagsNo tags attached.
Git Revision or version number
Run Mode Grid (Multiple Regions per Sim)
Physics EngineubODE
Script EngineYEngine
EnvironmentMono / Windows
Mono VersionNone
ViewerFirestorm
Attached Files

- Relationships

-  Notes
(0037925)
tampa (reporter)
2021-08-06 04:55

When you teleport again most likely the destination still has your child agent in it upon which it can impose the direction. When you first teleport you are unknown to the destination.
(0037928)
UbitUmarov (administrator)
2021-08-06 07:59

that was wishful thinking argument
it is ignored by our code on tps to other regions.
On teleport into same region, viewers may just ignore it.
(0037929)
UbitUmarov (administrator)
2021-08-06 08:07
edited on: 2021-08-06 08:08

lookat should be normalized, with z = 0; ( viewers do it also )
<0,0,0> is translated to <1,0,0>

(0037930)
Jagga Meredith (reporter)
2021-08-07 03:46

vector S = <1.0,-15.0,0.0>; //South
vector N = <1.0,15.0,0.0>; //North
vector W = <-15.0,1.0,0.0>; //West
vector E = <15.0,1.0,0.0>; //East
vector NE = <1.0,1.0,0.0>; //North East
vector NW = <-1.0,1.0,0.0>; //North West
vector SW = <-1.0,-1.0,0.0>; //South West
vector SE = <1.0,-1.0,0.0>; //South East

Within region/parcel, first call you are facing same direction as previous location. Any call after that, LookAt works.

- Issue History
Date Modified Username Field Change
2021-08-06 04:20 jwbruceshaw@gmail.com New Issue
2021-08-06 04:55 tampa Note Added: 0037925
2021-08-06 07:59 UbitUmarov Note Added: 0037928
2021-08-06 08:07 UbitUmarov Note Added: 0037929
2021-08-06 08:08 UbitUmarov Note Edited: 0037929 View Revisions
2021-08-07 03:46 Jagga Meredith Note Added: 0037930


Copyright © 2000 - 2012 MantisBT Group
Powered by Mantis Bugtracker