Hi.
How i can teleport my avatar without viewport centering?
How i can teleport my avatar without viewport centering?
-
Darkwing Duck
- Posts: 20
- Joined: 21 Dec 2010, 13:17
This is not possible, but you might have a workaround: just before teleporting the avatar, change the map virtual limits using the IOpenSpaceAPI. setCustomMapLimits method (if you are able to calculate them).
On teleport completion, reset the map limits to default using the same method.
On teleport completion, reset the map limits to default using the same method.
Paolo Bax
The SmartFoxServer Team
The SmartFoxServer Team
-
Darkwing Duck
- Posts: 20
- Joined: 21 Dec 2010, 13:17