josmas / openwonderland

Automatically exported from code.google.com/p/openwonderland
GNU General Public License v2.0
3 stars 5 forks source link

Portals in containers near starting location cause accidental teleports #180

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.Create a portal a short distance away from 0,0,0
2.Parent it to an object centered on the starting location like the ground
3.Log out
4.Log back in
5.Some of the time, you will teleport to the destination of the portal

What is the expected output? What do you see instead?
You should stay at the starting location. Instead, the portal seems to be 
placed at the origin while the world is loading up. 

From Jonathan's forum post:
"It seems to have to do with the positioning of the portal. The portal is a 
child of another cell, so its relative position is close to (0, 0, 0). 
Apparently when the portal first loads, it uses its local coordinates instead 
of the world coordinates, causing a collision to be detected and the portal to 
activate.  Making the portal a top-level item instead of in a container will 
fix the issue for now."

Original issue reported on code.google.com by nicole.m...@gmail.com on 31 Mar 2011 at 5:32