Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [motion]

The tag has no usage guidance.

2
votes
2answers
50 views

Javelin throw projectile motion

I am trying to simulate throw of javelin using projectile motion. The basic physics of projectile motion of a point was used to position the javelin. For the rotation part, I just assumed that the ...
0
votes
0answers
14 views

How to track/identify amorphous blobs in 2D or 3D space

In doing HTML/DOM work, you are working with concrete nodes which you can visibly touch and have a defined shape and boundary. What I'm wondering though is like with a cloud like structure, or like a ...
0
votes
0answers
38 views

Splitting a prefab into two

These hands are in a single prefab. I want to split this into two so that I can make bones for each of them separately and use them with leap motion. How can make each of these hands as a single ...
1
vote
2answers
119 views

Relative motion physics

So, I built a simple physics engine (without rotation as of now) You can click and then release to create block with velocity. https://codepen.io/kingofdelphi/pen/vRZvxQ Now, I want to apply force ...
2
votes
1answer
51 views

move toward object and transition to circling around it.

While it's easy for me to get a object circle around another and move toward it, i've got a few problems I couldn't find a solution to, yet. Ill go here as follows: I) description of scenario II) ...
0
votes
1answer
61 views

Evenly distribution of 2 or more shapes given their x and y points inside a bounding box

I have a set of dynamically shaped objects, How do I distribute them evenly either Horizontally or Vertically.The objects are surrounded by a bounding box and the objects are placed at x,y as shown. ...
3
votes
1answer
135 views

Compare mouse movement to the pattern

There are some games where you need to make special movement with your mouse (spell casting or any other action). Something like this So basically, how can I compare mouse movement to my pattern (...
2
votes
2answers
185 views

3D Thrust velocity

How do I create 3D velocity with a 3D angle and 1D thrust like the 2D algorithm below? ...
0
votes
0answers
703 views

Motion Detection via webcam

I need some help here. I've developed a bowling game in unity3D. By looking at the kinect bowling game i want to adopt the same technique in my game i.e controlling the game with hand gestures. I've ...
0
votes
1answer
120 views

Scale sprite between two points

I need to start a sprite at a scale .6 (scale1) at a y position 40 (yPos1). Knowing the end y position 560 (...
1
vote
0answers
56 views

Making an 'anim in circular motion' get attracted by gravity of the center

I am working on a project, where the main player anim is in circular motion with respect to a center point. This video shows what I have done to the anim till now. In that video, there are multiple ...
11
votes
1answer
441 views

Oculus Rift on Motion Simulator Platform

I currently develop a VR environment for an existing (physically) large motion simulator platform. The user can sit on this motion platform and gets accelerated and tilted to induce the feeling of ...
0
votes
2answers
5k views

how can I make camera to follow smoothly

What I meant by slow parent is that I want the camera to not move immediately my third person controller moves so it won't look as though the earth is moving. The camera is the child of the player
0
votes
0answers
55 views

Simple motion capture from mouse or tablet

For simple animations (like a message box that comes into view with a 'bouncy' feeling) I can easily mimic how it should animate with my hand. That is: I know how it should accelerate/move. It would ...
0
votes
1answer
143 views

Changing the duration of motion state transitions in Animator Controller

Anyone around who is experienced with Unity animation states and the Animation Controller? I wonder is it possible in Unity to change the duration of time it takes between motion transitions in the ...
7
votes
2answers
812 views

Pathfinding with inertia

I'm currently working for pathfinding for a game where units are moving, but they have inertia. Most typical pathfinding algorithms (A*, Djikastra, etc.) are simply designed to minimize the length of ...
4
votes
1answer
342 views

LibBDX create a tail when the object is moved

I am looking for a way to implement in my game a kind of shadow/tail which will be displayed after the object is moved. Should I use animation? If yes how? Here an example:
0
votes
1answer
1k views

Shmup Unity, create an enemy spread shot to the player

Following this lecture: http://www.shmup-dev.com/forum/viewtopic.php?f=6&t=347 , i created a bullet that shoot from the enemy directly to the player, in a straight line. Now i want to create 3 ...
12
votes
6answers
4k views

What's the fastest way checking if two moving AABBs intersect?

I have two AABBs that are moving, what's the fastest way to check if they will intersect under a frame? By moving I mean not just to check with the usual rectangle intersection method, I mean some ...
-2
votes
2answers
1k views

How to make an object move and your player move in Unity

I am making a project in Unity 4.6.1 and I don't know how to make the enemy move to certain points. I would want it to move to 2 to 4 points or more. I also don't know how to make the player move (not ...
2
votes
1answer
188 views

Importing skeletal animation from vertex coordinates in maya

I have files of different frames of an animation which have the vertex co-ordinates of a human skeleton in 3D space. I want to import the animation from these keyframes into maya to perform motion ...
0
votes
1answer
454 views

How to implement a Trail using Cocos2dx

I'd like to implement a trail (like the white circles in Angry Birds) that chase my sprite. I already used CCMotionStreak, but the trail texture is "stretched" instead. Anyone has an idea how to make ...
2
votes
2answers
3k views

Move a 2D point to a target (first accelerate towards the target, then decelerate)

I have a point entity that I would like to move to a target point (in 2D). I think I would like it to accelerate away from its current position (the point could already have a velocity), to some ...
2
votes
2answers
222 views

Box2D—how make character tilt

I have got a floating character, which should be a robot like thing, floating over the ground, whereby I am using the »hovercar« effect described here. Zhe Image below outlines the basic setup of the ...
0
votes
0answers
61 views

Constantly interpolated splines

Trying to implement a movement through a curve - I'm trying to find a type of curve/spline that interpolates constantly. What I mean: when I interpolate from t=0 to t=0.1, I want it be the same ...
7
votes
2answers
1k views

How can I simulate a floating character in Box2D?

I am creating a jump'n'run game using the Box2D physics engine. The main character should be a robot like creature without legs, floating over the ground powered by a jet engine. The motion should ...
1
vote
2answers
3k views

What is framerate-independent motion?

What is the definition of framerate-independent motion and why is important to have it in games?
1
vote
1answer
99 views

AI movement is fragmented when following player

I'm making a 2D game with two spaceships flying around and shooting at each other. One is controlled by the player, the other by the AI. Currently, I have the AI always try to get inside a certain ...
0
votes
1answer
1k views

How to simulate the movement of a ball in 2D due to force, gravity, and friction with surface?

I have a ball which I kick with some force. It has a starting x,y position, sat (2,3) and an intended target x,y say (7,8) position. That means I have to translate by (7-2, 8-3) i.e. 5 x units and ...
4
votes
2answers
403 views

How to implement homing missiles with loops while in transit?

I have implemented missiles that steer towards a target, however this feels kind of boring. I want to add loops! Loops are cool! To do this I thought I could use catmull-rom splines, but that seems ...