Announcement

Collapse
No announcement yet.

Limiting input controls

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Limiting input controls

    I am currently trying to get a crane on a boat operational, I am using numpad inputs to control the crane and so far i have managed to get every moving part to move as it should, however everypart is able to do a 360, I need a way to limit the amount parts can rotate or move through an axix and i am having a hard time achieving this as i am quite new

    http://i.imgur.com/NzoqjlE.png
    If you want to try my map you can find it at the link below
    Founder of [Map] Terra Nova

    So you want to make a map? (Tutorial)

    My setup: Asus Rampage IV black edition, i7-4820K @ 4.20ghz, DDR3 1600mhz 32gb, Nvidia GTX 780 Ti, 2x 128gb SSD 8x3tb 7200rmp hdd's, 950W PSU

    Streaming here whenever I work on my map http://www.twitch.tv/uzumi/

    #2
    You need to learn/refresh vector math.
    Then calculate difference in degrees between boat forward vector and crane forward vector (hint: use dot product).
    Then use branch to cut off steering.

    Comment


      #3
      I was able to solve my issue using this setup https://cdn.discordapp.com/attachmen...82/Capture.PNG
      If you want to try my map you can find it at the link below
      Founder of [Map] Terra Nova

      So you want to make a map? (Tutorial)

      My setup: Asus Rampage IV black edition, i7-4820K @ 4.20ghz, DDR3 1600mhz 32gb, Nvidia GTX 780 Ti, 2x 128gb SSD 8x3tb 7200rmp hdd's, 950W PSU

      Streaming here whenever I work on my map http://www.twitch.tv/uzumi/

      Comment

      Working...
      X