Search found 31 matches

Search found 31 matches Page 1 of 4
by OTHGMars
Tue Dec 15, 2020 5:11 am
Forum: TorqueScript
Topic: gotoWebPage broke?
Replies: 11
Views: 8147
SDL will be adding SDL_OpenURL() in version 2.0.14. It's still pre-release, but it checks out on Win10 (opens url in default browser not IE). If it works on all supported platforms after the next SDL release, all of the platform specific openWebBrowser() calls can be eliminated and replaced with a s...
by OTHGMars
Tue Jun 04, 2019 11:23 pm
Forum: TorqueScript
Topic: How would you get a point that is a distance from another? (2D Vectors)
Replies: 6
Views: 14611
// Initial data %npcPosition = %talkingNPC.getPosition(); %playerPosition = %clickingPlayer.getPosition(); %interactionDistance = 4; // Get the vector between the NPC and the player %separationVector = VectorSub(%playerPosition, %npcPosition); // Eliminate the z component of the vector (only becaus...
by OTHGMars
Fri Apr 12, 2019 5:46 pm
Forum: C++
Topic: OpenVR 1.0.17 Update
Replies: 2
Views: 3846
1) I have tested with an Oculus Rift and HTC Vive and both work. In theory it should also support WMR devices, but I have no knowledge of anyone testing with WMR yet. 2) There is some script setup required, examples are included in the branch. 3) Yes, there is support for floating overlays and the O...
by OTHGMars
Mon Jan 28, 2019 9:02 pm
Forum: General
Topic: Why don't we get anything done?
Replies: 44
Views: 12189
@Duion Be the change that you want to see! That's the beauty of an open source project. There is nothing stopping anyone from forking the engine, renaming it (optional step here), forming their own steering committee and taking the development in whatever direction and at whatever pace they so choos...
by OTHGMars
Mon Nov 05, 2018 9:06 pm
Forum: C++
Topic: OpenVR 1.0.17 Update
Replies: 2
Views: 3846
There is a branch that updates T3D to build with the latest OpenVR release and adds support for the new IVRInput Interface and Hand Skeletons . The branch is here: https://github.com/OTHGMars/Torque3D/tree/OVR_1017f Build instructions and branch notes are here: https://github.com/OTHGMars/Torque3D/b...
by OTHGMars
Sun Oct 14, 2018 12:23 am
Forum: C++
Topic: Audio in Torque 3d
Replies: 22
Views: 13716
Try voice->LoadEffect(&reverb) before return voice; but after voice = new SFXALVoice...
Load effect should be non-static in that case.
by OTHGMars
Sat Jul 21, 2018 4:01 am
Forum: Beginner
Topic: How Do I Into .modules I Cannot Even Into .modules
Replies: 3
Views: 1927
Official docs are here. I found them through here.
by OTHGMars
Sat Jul 21, 2018 3:51 am
Forum: Beginner
Topic: How Do I Into .modules I Cannot Even Into .modules
Replies: 3
Views: 1927
Check that you have a ModuleDatabase.scanModules call being executed. It's in main.cs in the templates. See: https://github.com/GarageGames/Torque3D/blob/development/Engine/source/module/moduleManager_ScriptBinding.h#L37-L41 . If the argument is empty, the default will be game/ and your modules will...
by OTHGMars
Thu Jul 19, 2018 10:27 am
Forum: C++
Topic: SDL_Joystick and SDL_GameController
Replies: 13
Views: 9452
The joystick branch now includes a keyboard event refactor that eliminates keycode and modifier conversions. This opens the possibility of supporting ANSI and ISO keyboards in any layout that SDL recognizes. Help is needed in order to get this properly tested and working in time for 4.0. If you use...
by OTHGMars
Fri Jul 13, 2018 3:12 am
Forum: Beginner
Topic: Getting velocity sum
Replies: 6
Views: 2818
Check out the VectorLen function https://github.com/GarageGames/Torque3D ... #L937-L962. It's not the sum of the axes components, but will give you the speed of a velocity vector.
Search found 31 matches Page 1 of 4