edited June 2015 in Makinom Support
so im using the change field to change the field of view for my cam but there seems to be an issue to where when i release the mouse button i cant set it back :o there dosent seem to be a node for checking if a key is down or do i need to make a 2nd input for releasing the button with another interaction machine setup to set the view back to normal?
Post edited by wtyson on
new website can be found here http://www.fore-loregames.com

Follow the game Development on Twitter https://twitter.com/Fore_Lore_Games

or check out the face book page here https://www.facebook.com/ForeLoreGames
  • You can e.g. use an Input Key node with checking for your mouse click input and use the Failed slot to reset the field of view.

    If you only want to do it once after the key was released, you can use variables (e.g. object bool or a global bool if it's only used in one machine) to mark the field of view changed and reset it only when the bool is enabled (disabling the bool again).
    Please consider rating/reviewing my products on the Asset Store (hopefully positively), as that helps tremendously with getting found.
    If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
  • tried the input key node is seems to just detect if the mouse went down. i set the field of view back to original position on the failed slot an it did nothing... but it will detect the mouse press an change the field of view when the mouse goes down. ill try a bool instead an then on the interaction machine when the event ends see if i can set it back what i did for my wep fire to do a placebo sound detection for ai. tomorrows my off day but ill check it out tuesday an see what i can come up with. thanks for the info
    new website can be found here http://www.fore-loregames.com

    Follow the game Development on Twitter https://twitter.com/Fore_Lore_Games

    or check out the face book page here https://www.facebook.com/ForeLoreGames
  • In that case, you need another input key for your mouse button using Up input handling and use it in your Input Key node.
    Please consider rating/reviewing my products on the Asset Store (hopefully positively), as that helps tremendously with getting found.
    If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
Sign In or Register to comment.