• Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
Question by s_guy · Sep 16, 2013 at 05:16 AM · controllerxbox360vibrationps3

How to implement controller vibration / rumble?

It appears that these features aren't supported by Unity. If you have implemented it in a Unity-made game, how did you do it?

Searching for this topic yields some older threads referring to:

XInput for xbox 360; https://github.com/speps/XInputDotNet

Motionjoy for PS3; http://www.motioninjoy.com/download

These look like home-brewed solutions for exposing various console-specific controller features, including rumble. They're still being updated, so that's a good sign, but there doesn't seem to be much discussion here about them other than a few mentions of somebody getting them to work. So, this seems to be the M.O.: Use console-specific .dlls from 3rd parties, drop them in your builds and write a common interface within Unity. I'm wondering, is this still "the way" and are the above, the preferred packages (both for ease of use, and for indie-friendly licenses)?

Comment
xavier-heimgartner

People who like this

1 Show 0
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

4 Replies

· Add your reply
  • Sort: 
avatar image

Answer by JtheSpaceC · Dec 14, 2015 at 02:49 PM

I've failed to get this done about a dozen times until today. You need to download a 'using' namespace to get access to the GamePad.SetVibration() function.

The download and instructions (scroll down) can be found here. Enjoy! https://github.com/speps/XInputDotNet

Comment
Noxury
crare
Kaldrin

People who like this

3 Show 1 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Kaldrin · Apr 05, 2020 at 01:13 PM 0
Share

Thank you very much it works well !

avatar image

Answer by TruffelsAndOranges · Jul 14, 2015 at 09:51 PM

I'm also interested in having this as a feature in Unity.

Comment
dCalle
Noxury
RodrigoSeVeN

People who like this

1 Show 0 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image

Answer by onexdrk · Oct 18, 2019 at 11:12 AM

Check it out https://blogs.unity3d.com/2019/10/14/introducing-the-new-input-system/

Comment
LeHombreDeZbragl

People who like this

1 Show 0 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image

Answer by Jigglebizz · Mar 09, 2020 at 05:01 AM

This can be done through Wwise using the Wwise Motion Sink plugin!

Comment

People who like this

0 Show 0 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Update about the future of Unity Answers

Unity Answers content will be migrated to a new Community platform and we are aiming to launch a public beta later in June. Please note, we are aiming to set Unity Answers to read-only mode on the 31st of May in order to prepare for the final data migration.

For more information, please read our full announcement.

Follow this Question

Answers Answers and Comments

20 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

how to make the Playstation 3 controller vibrate? 1 Answer

Let users choose to play with either an xbox or ps3 controller 1 Answer

How to make a controller vibrate using android 3 Answers

Multiple controller buttons Xbox 360 & PS3 different controllers 1 Answer

different behaviour of axis using xbox360 controller 1 Answer


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges