Questions tagged [motion]
The motion tag has no summary.
41 questions
0
votes
0
answers
72
views
UE5 Animation / Motion Matching Issues
UE5 noob here,
So I am following a tutorial for how to do motion matching and when I import the animations, only the head gets animated while the rest of the body is in a T-pose. It is very comical ...
0
votes
1
answer
159
views
Motion Retargeting from a BVH File to a Rigged Mesh in Unity with Arbitrary Rest Pose
I want to perform motion retargeting from a .bvh file (from lafan2 dataset) to a rigged mesh in Unity (which is John Lemon in this tutorial resource).
I have overcome most of the problems, but this ...
0
votes
1
answer
434
views
How to limit forces based on linear velocity
I'm trying to develop a system where there are two types of velocity limits.
The velocity that a rigid body can achieve on its own.
The velocity cap which is reachable by interference with other ...
0
votes
1
answer
504
views
Rigidbody drifting after being stopped
I am struggling with an issue in Unity where I am stopping a rigidbody's motion, but after the motion is stopped the rigidbody still moves slightly. It is causing me major issues as I need the object ...
0
votes
0
answers
99
views
Motion of a cube after it bounces off a floor
I am trying to simulate what happens when a cube hits the floor after free fall. I am considering a situation in which cube hits the floor with its edge. There is obviously reaction force from the ...
0
votes
1
answer
98
views
Arrow key presses stop affecting game after pressing them 4-5 times
I'm trying to program a simple space shooter and my goal right now is that when the player presses down and holds a key, the ship accelerates to a max velocity.
I have that somewhat; the problem is ...
1
vote
2
answers
747
views
Acceleration along Bezier Curve
Does anyone know how to accelerate a moving object along a Bezier curve? I found a post here that seems to solve the problem but I do not understand how to apply this code, particularly what is done ...
0
votes
1
answer
135
views
Rendevouz Calculations
Say you have two objects in a vacuum with no forces acting on them.
The objects may or may not be moving.
Object A's acceleration is not equal in all directions, and object B may change its ...
0
votes
0
answers
105
views
Aircraft trajectory prediction
I have an aircraft that is controlled by player and i need to predict it's position at needed time. It's not a problem if the plane is just moving straight but most of the time aircraft is maneuring. ...
0
votes
0
answers
184
views
How to model the double jump in Super Mario using projectile motion
So the single jump in Super mario games follows a curved trajectory of the formula s = s0 + v0t + ½ at2. The double jump in mario consists of two different parabolas combined. I know that the max ...
0
votes
1
answer
79
views
How to rotate and move an object in precise time frame
My task is to rotate and move an object into a new position and rotation in a given time. Say I have to move a cube from (0,0,0)|(0,0,0) to ...
3
votes
3
answers
3k
views
can't make my unity character move
so I'm starting with Unity , I followed the john lemon tutorial , and I wanted to apply what I learn on a model on my own coming from blender.
Everythings works , animation , rotation , but not ...
3
votes
2
answers
389
views
Why is the equation \$S = ut + \frac 1 2 a t^2\$ not used directly to calculate final position of an object?
Most articles I've read on physics integration in games say to do it like this:
first we calculate velocity after a certain elapsed time dt like this: ...
3
votes
3
answers
2k
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 ...
1
vote
0
answers
51
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
0
answers
430
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 ...
2
votes
2
answers
282
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
1
answer
152
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) ...
1
vote
1
answer
169
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
1
answer
361
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
2
answers
503
views
3D Thrust velocity
How do I create 3D velocity with a 3D angle and 1D thrust like the 2D algorithm below?
...
0
votes
1
answer
332
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
0
answers
84
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 ...
12
votes
1
answer
664
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 ...
1
vote
3
answers
11k
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
1
answer
378
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
2
answers
2k
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 ...
5
votes
1
answer
454
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
1
answer
2k
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 ...
15
votes
6
answers
8k
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
2
answers
2k
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
1
answer
237
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
1
answer
685
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 ...
5
votes
2
answers
7k
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
2
answers
334
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
0
answers
78
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 ...
8
votes
2
answers
2k
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
2
answers
7k
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
1
answer
151
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
1
answer
2k
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
2
answers
545
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 ...