安装 Steam
登录
|
语言
繁體中文(繁体中文)
日本語(日语)
한국어(韩语)
ไทย(泰语)
български(保加利亚语)
Čeština(捷克语)
Dansk(丹麦语)
Deutsch(德语)
English(英语)
Español-España(西班牙语 - 西班牙)
Español - Latinoamérica(西班牙语 - 拉丁美洲)
Ελληνικά(希腊语)
Français(法语)
Italiano(意大利语)
Bahasa Indonesia(印度尼西亚语)
Magyar(匈牙利语)
Nederlands(荷兰语)
Norsk(挪威语)
Polski(波兰语)
Português(葡萄牙语 - 葡萄牙)
Português-Brasil(葡萄牙语 - 巴西)
Română(罗马尼亚语)
Русский(俄语)
Suomi(芬兰语)
Svenska(瑞典语)
Türkçe(土耳其语)
Tiếng Việt(越南语)
Українська(乌克兰语)
报告翻译问题
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 :-)