# Questions tagged [motion]

The tag has no usage guidance.

30 questions
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 ...
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 ...
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 ...
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 ...
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) ...
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. ...
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 (...
185 views

### 3D Thrust velocity

How do I create 3D velocity with a 3D angle and 1D thrust like the 2D algorithm below? ...
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 ...
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 (...
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 ...
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 ...
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
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 ...
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 ...
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 ...
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:
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
3k views

### What is framerate-independent motion?

What is the definition of framerate-independent motion and why is important to have it in games?
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 ...