|
Quick, easy question (I hope): I have an Xbox360 controller hooked up to my PC, and Windows recognizes it as a "gamepad". Can I create a game for the PC, specifically catered to controller-based input? What I mean is, does Unity allow me to create inputs specifically for gamepads (things like directional X/Y movement with the joysticks, trigger input axes, and controller rumble/vibration)? If the answer is no... (follow-up question!) When Unity 3 comes out, it will support the Xbox360, so does that mean we'll probably see better controller input support at that time?
(comments are locked)
|
|
http://forum.unity3d.com/viewtopic.php?t=5563 Great forum thread on 360 controllers. It varies based on what series of controller you have, but you should be able to figure out which configuration works for you. Ah, this is a very useful forum post (though it could use a bit of organization). Thanks for this.
Mar 24 '10 at 02:19 AM
qJake
(comments are locked)
|
|
Yes, set up appropriate axes and buttons for the gamepad in Unity's input manager. There is no vibration support, but you can use all axes/buttons that are reported by your OS's USB stack. Can you give some examples of what I would type in the Input Manager that would correspond to various buttons (or where I could find this information?)
Mar 23 '10 at 06:45 AM
qJake
Click on the help icon in the input manager (joystick = gamepad).
Mar 23 '10 at 07:01 AM
Eric5h5
(comments are locked)
|
