Search found 265 matches

  • 1
  • 2
  • 3
  • 4
  • 5
  • 27
Search found 265 matches Page 1 of 27
by Steve_Yorkshire
Sat Jul 21, 2018 2:39 pm
Forum: Beginner
Topic: How Do I Into .modules I Cannot Even Into .modules
Replies: 3
Views: 59
Cheers. I ended up execing your inputMonitor via init.cs, it worked but obviously wasn't the correct way to go about it. ;)
by Steve_Yorkshire
Sat Jul 21, 2018 1:28 am
Forum: C++
Topic: SDL_Joystick and SDL_GameController
Replies: 13
Views: 869
And a prettier way of doing it ... function gamePadMoveY( %val ) { if(%val > 0) { $mvForwardAction = 0; $mvBackwardAction = %val * $movementSpeed; } else { $mvForwardAction = -%val * $movementSpeed; $mvBackwardAction = 0; } } //... function gamepadPitch(%val) { %pitchAdj = getGamepadAdjustAmount(%va...
by Steve_Yorkshire
Sat Jul 21, 2018 12:32 am
Forum: Beginner
Topic: How to Export objects since Torque 3D?
Replies: 4
Views: 80
That's the one I was thinking of! :oops:
by Steve_Yorkshire
Sat Jul 21, 2018 12:30 am
Forum: C++
Topic: SDL_Joystick and SDL_GameController
Replies: 13
Views: 869
Swapping the +/- around in default.bind.cs does the trick function gamePadMoveY( %val ) { if(%val > 0) { $mvForwardAction = -%val * $movementSpeed;//swapped to negative for sdl $mvBackwardAction = 0; } else { $mvForwardAction = 0; $mvBackwardAction = %val * $movementSpeed;//swapped to positive for s...
by Steve_Yorkshire
Fri Jul 20, 2018 9:14 pm
Forum: Beginner
Topic: How Do I Into .modules I Cannot Even Into .modules
Replies: 3
Views: 59
Is there some info lying about which I have missed on how to install/link/exec/into .modules in the Templates folder?

I did actually get it working by just execing in random place in init.cs but I'm pretty sure that's not how it's designed. :?
by Steve_Yorkshire
Fri Jul 20, 2018 9:10 pm
Forum: C++
Topic: SDL_Joystick and SDL_GameController
Replies: 13
Views: 869
Had a play with the input monitor and moving the both left/right thumbsticks up/forward do give negative values (eg: -0.99999) whilst down/back is positive (eg: 1.0) so I reckon this need reversing :mrgreen:
by Steve_Yorkshire
Fri Jul 20, 2018 6:18 pm
Forum: C++
Topic: SDL_Joystick and SDL_GameController
Replies: 13
Views: 869
Just had a quick play with SDL_Joystick branch (minus testing branch). UK keyboard, X-Box Controller. Xbox Gamepad: Y axis on both thumbsticks are reversed (forwards=back, up=down). X axis works fine. Buttons work fine. Keyboard: Console is under Esc (which is not tilde on UK keyboard) but that is w...
by Steve_Yorkshire
Fri Jul 20, 2018 4:51 pm
Forum: Beginner
Topic: How to Export objects since Torque 3D?
Replies: 4
Views: 80
There was a program that could open DTS files but for the life of me I can't remember it's name :/
But yeah, basically everything now uses DAE/Collada.
There is the old DTS ShowPro tool which is a glorified DTS viewer but you can't edit of export with it
by Steve_Yorkshire
Mon Jul 09, 2018 11:08 pm
Forum: Beginner
Topic: Vehicle with interior, doors and free entering/leaving passengers, how?
Replies: 2
Views: 101
remember to trigger a sitting animation using %player.setActionThread("sitting"); - which is the stock one for Torque's Soldier character model when mounting your players or else they'll just be standing up in root pose
by Steve_Yorkshire
Wed Jul 04, 2018 6:27 pm
Forum: Beginner
Topic: Getting player view angle height.
Replies: 14
Views: 269
For where something is pointing/aiming at, I think that you want the vector rather than the objects own rotation.

Edit:
Try %camera.getEulerRotation(); or %camera.getEyeVector();
  • 1
  • 2
  • 3
  • 4
  • 5
  • 27
Search found 265 matches Page 1 of 27