Search Unity

Force feedback plugin

Discussion in 'Editor & General Support' started by Vectrex, Feb 18, 2011.

  1. Vectrex

    Vectrex

    Joined:
    Oct 31, 2009
    Posts:
    267
  2. Dreamora

    Dreamora

    Joined:
    Apr 5, 2008
    Posts:
    26,601
    it doesn't use callbacks and alike, does it? if it does, the callback must not end on a class that extends from UnityEngine.Object directly or indirectly ... (haven't looked at it but that out of my experience is the fastest way to crash the editor and be near incapable to ever debug it)
     
  3. Vectrex

    Vectrex

    Joined:
    Oct 31, 2009
    Posts:
    267
    I've isolated the problem to this line (277) in the DirectInput c++
    The line that actually sets the force amount.

    It seems to still do the same thing even if I give it
    and comment out the entire rest of the function which sets the 'eff' variable.

    Also the autocenter get set to off regardless of whether I actually call it. Then the next time the editor runs, it's autocentering
     
    Last edited: Feb 20, 2011
  4. skylerkingdev

    skylerkingdev

    Joined:
    Sep 10, 2010
    Posts:
    36
    Mine crashes every time I click play. I cant seem to get anything out of it.
     
  5. Vectrex

    Vectrex

    Joined:
    Oct 31, 2009
    Posts:
    267
    hmm, what version of unity and directx do you have? Does it work with a build and not in the editor?
     
  6. Hossein_Moghimi

    Hossein_Moghimi

    Joined:
    Jul 17, 2013
    Posts:
    1
    It works great on my system but my joystick has vibration as well. Do you have any idea how I can activate the vibration?
    Thanks
     
  7. Murtii

    Murtii

    Joined:
    Jun 4, 2013
    Posts:
    2
    Hi Everyone,

    I am newbiee so any kind of help is appreciated. Thanks in advance.

    I am using this UnityForceFeedback.zip, but facing the same issue that it crashes in Unity when I try to use it for the very next time.
    Did some one find/resolved this issue?
    or do we have some kind of alternative ?

    Thanks,
    Murtaza