Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem









I was wondering if you had any idea on how to change the player orientation using the anchor after the teleport, I tried to use anchor:SetAngles(pitch, roll, yaw) & anchor:SetAngularVelocity(pitch, roll, yaw); but none seems to work and I can't find other function that looks to do what I want to acheive in the scripting API reference.
Have a great day and thanks again for all the hints so far :-) !
When launching SteamVR from the steam app, and then using the SteamVR menus as described below "SteamVR --> Workshop --> Create/Modify an environment", it don't work !
BUT
if I launch the "steam environment" app without using those menus from SteamVR (directly launching "C:\SteamLibrary\steamapps\common\SteamVR\tools\steamvr_environments\game\bin\win64\"steamtourscfg.exe" then it will launch SteamVR as well and I have all console output !
I don't know why it behave like this but it works doing so...
I'm using SteamVR --> Workshop --> Create/Modify an environment which launch "SteamVR Home" and the "Asset browser", from there I launch Hammer to make my map in which I make use of your Lua script to teleport the player.
I found a vconsole2.exe file in SteamLibrary\steamapps\common\SteamVR\tools\steamvr_environments\game\bin\win64\ So i guess this is the right one, and made a connection to both 29000 & 29001, but when I add a print statement at the beginning of the function like this :
function TeleportPlayer(params)
print("IM THERE...")
...
end
Nothing is coming out of the console, in fact there is nothing at all in the console :-/
I searched almost the whole day, and can't find any documentation on how to debug a piece of script for SteamVR environment on internet... Any clue what I'm doing wrong ?
And sorry to bother you with all my questions by the way, feel free to tell me if I'm too annoying :-)