Questions tagged [motion-control]

Detecting input not by the pressing of buttons, triggers, or sticks, but directly from the movements of the player and/or their input device(s) through space.

Filter by
Sorted by
Tagged with
4
votes
2answers
95 views

Exchanging data between custom-built hardware and games

I have a built my own steering wheel and motion platform that I would like to connect to popular car racing games (e.g. iRacing, Dirt Rally). I need to read data such as the car's acceleration (to ...
1
vote
1answer
380 views

Unity 2d Animation from spritesheet: How can I move the character according to the animation?

I am trying to implement an attack animation that should end up in moving the player by some distance. The animation would be something like this: As you can see the position of the player should ...
1
vote
1answer
357 views

Using DualShock 4 motion sensor in Unreal engine (windows)

Anyone know how to access the gyro/accelerometer values from a DualShock 4 controller in the Unreal engine (under windows)? Are there any plugins that do this? Does raw input work?
1
vote
0answers
884 views

I keep getting a type/namespace error when I try to define my two motion controllers. What am I doing wrong?

I'm trying to get motion controls working (particularly making it act like a joystick) but I keep getting this error "The type or namespace name 'SteamVR_Controller' could not be found (are you ...
1
vote
0answers
187 views

Accessing DualShock 4 motion sensor in Windows [duplicate]

I am attempting to access the accelerometer and gyroscope functionality of the dualshock 4 controller for implementation into Unity. DMGregory seems to have found a solution to this problem, my ...
3
votes
1answer
1k views

Problem finding correct value for Yaw

I use an Arduino and a 9dof sensor ( gyroscope, accelerometer and magnetometer ) and i'm trying to use the pitch, roll and yaw that the sensor gives me to rotate an object in unity. I managed to ...
1
vote
0answers
34 views

What are some different types of device motion gestures? [closed]

Complex touch events are well-defined and can even be categorised as seen in this Wikipedia article We have great names for various touch gestures like: Double-tap Pinch / Zoom Long Press etc. When ...
10
votes
3answers
7k views

Accessing DualShock 4 motion sensor in Windows (ideally Unity)

I'm trying to use a DualShock 4's IMU as a motion controller in Unity, under Windows 7. So far I've tried: DS4Windows (1.5.11): reads motion sensor data, but does not expose them to Unity as axes ...
4
votes
2answers
3k views

How do I translate accelerometer readings into object movement?

I am using the DeviceMotionEvent web API, which gives me a device's acceleration split up into x-, y- and z-dimensions and a time interval. Here's my attempt at ...
4
votes
1answer
330 views

Algorithm for sensing mouse movements like a wiimote

I want to make a driving game where you can do tricks with your mouse when you hold down LMB. Ex. if you move it up in a straight line really fast (your cursor goes from the bottom to the top of the ...
24
votes
4answers
2k views

What is the point of “delta” in this code? Does it reflect a standard thing in game dev?

I know very little about game programming but would like to learn more. I am trying to understand the code for this game. I am trying to understand why the code is passing a "delta" to Shipcontrols.js,...
9
votes
3answers
1k views

How to remove jitter from motion input?

I am writing a Minecraft mod that supports input from the Razer Hydra. It is a pair of motion controllers (one for each hand) that provide incredibly accurate position and rotation information. For ...
1
vote
2answers
1k views

Comparing a saved movement with other movement with Kinect

I need to develop an application where a user (physiotherapist) will perform a movement in front of the Kinect, I'll write the data for the movement in the database and then the patient will try to ...
2
votes
2answers
416 views

How does the Wii controller work?

I've never played the Wii or Kinect, but to my understanding, the Wii captures user movement with 4 cameras and translates them to controls. How does this work? Has Nintendo published anything on ...
7
votes
4answers
516 views

What games benefit strongly from using motion controls? [closed]

A lot of games use motion controls, be it Wii, Kinect or otherwise, but for most of them, this control scheme seems forced. What are the games that benefited the most from using motion controls (as in,...
4
votes
1answer
580 views

Are there any implemented game controls like a screen (thumb) joystick? - iOS

I'm looking for some open source game controls. Especially I'm looking for a thumb screen joystick to move a character on the screen, something like a touch circle. Are there any open source ...
8
votes
1answer
15k views

Time based movement Vs Frame rate based movement?

I'm new to Game programmming and SDL, and I have been following Lazyfoo's SDL tutorials. My question is related to time based motion and frame rate based motion, basically which is better or ...
28
votes
7answers
7k views

Can you access Kinect motion sensing from XNA?

As of 2010 with the release of XNA 4.0, if I buy an Xbox 360 with Kinect will I be able to access its motion sensing data with the XNA game I'm developing? Or is this only restricted to C++ developers ...
3
votes
2answers
161 views

Motion Tracking Technologies [closed]

I want to make a game that uses motion tracking as a innovative feature, but i don't know what technologies i can use to make it true. I want to use a video camera to track user movement, but i'm ...
12
votes
4answers
766 views

Gesture Recognition Strategies

Working with the Wii I often find it necessary to recognize simple gestures, so far I've been able to mainly look at magnitude of acceleration in order to recognize the gestures called out for in our ...