mirror of
https://github.com/bulletphysics/bullet3
synced 2024-12-14 05:40:05 +00:00
2329c00faa
update to OpenVR sdk 1.03 from https://github.com/ValveSoftware/openvr add camPosX/Y/Z and camRotZ to adjust relative camera/world transform for VR (so you can align virtual table with real table etc) tweak quadruped.py to move a bit add mouse picking to physics server
22 lines
675 B
Batchfile
22 lines
675 B
Batchfile
IF NOT EXIST bin mkdir bin
|
|
IF NOT EXIST bin\openvr_api.dll copy examples\ThirdPartyLibs\openvr\bin\win32\openvr_api.dll bin
|
|
|
|
#optionally, hardcode the python path or
|
|
#SET myvar=c:\python-3.5.3
|
|
|
|
#find a python version (hopefully just 1) and use this
|
|
dir c:\python* /b /ad > tmp1234.txt
|
|
|
|
set /p myvar1= < tmp1234.txt
|
|
set myvar=c:/%myvar1%
|
|
del tmp1234.txt
|
|
|
|
#you can also override and hardcode the Python path like this (just remove the # hashmark in next line)
|
|
#SET myvar=c:\python-3.5.2
|
|
|
|
cd build3
|
|
|
|
premake4 --double --midi --enable_openvr --enable_pybullet --python_include_dir="%myvar%/include" --python_lib_dir="%myvar%/libs" --targetdir="../bin" vs2010
|
|
start vs2010
|
|
|