Skip to main content

Questions tagged [vector]

A mathematical concept that can be used to express position, direction or velocity and which can simplify or outright trivialise spatial problems.

2 votes
2 answers
141 views

everyone. I am working on a game that relies pretty substantially on "faking" 3D by using different parallaxing and polygonal transform techniques. In a current example, I am working on a ...
Peanut's user avatar
  • 21
1 vote
1 answer
127 views

I'm trying to determine the transformation steps (position, scale, rotation) needed to be applied to an object so that two points, locally positioned in that object, line up with two world space ...
Zeppelin's user avatar
1 vote
1 answer
580 views

Let's say I have position A, that is (0,0) and Position B that is (10,5). Now let's say I know that position C is 5 units' distance from position A in direction to Position B. Provided that the ...
user57129's user avatar
  • 133
0 votes
1 answer
90 views

Have an basic enemy prefab that when spawned, I would like it to lock to player and move toward them, with smooth rotation. However, as you can see in this video, the enemy initially moves away from ...
Anthony's user avatar
  • 11
3 votes
6 answers
2k views

I am trying to rotate a vector made of two signed 16-bit coordinates (-32768 to 32767). Using a LUT for sin/cos, I can use the standard method for rotating a vector: ...
IanLarson's user avatar
  • 811
0 votes
1 answer
118 views

I am using Vector3.Slerp to move a boomerang from the player to a target in an arc, and then back to the player. It's currently working, but not the way that I want it to. My issue is that I would ...
PayasoPrince's user avatar
0 votes
1 answer
92 views

I have a green circle: Inside the circle, the white frame moves to wherever P, the projection of the targets 3D position into a 2D point, is. However, outside the circle, the frame will move to the ...
KING MOOSE's user avatar
0 votes
1 answer
183 views

I was implementing the rotation of a 3D vector by a quaternion, implementing the formula that I've found in this thread. To testing my function, I've rotated some vectors by using MATLAB, in ...
Jepessen's user avatar
  • 101
0 votes
0 answers
70 views

The Goal I'm working on a vr gesture recognition system. Normally these systems are dependent on "drawn" gestures, but I want something that compares position, rotation, velocity, angular ...
Pen's user avatar
  • 13
0 votes
1 answer
151 views

I am currently creating an environment to train aim-bot AI's for my game. It is a 2d world made of complex polygons, and the goal is to have the AI's shoot ricocheting bullets. Using a ray-casting ...
Beluker's user avatar
0 votes
0 answers
435 views

I'm working on a raycast-based vehicle in a 3D world using a physics engine. It's basically a chassis object that contains a transform (translation, rotation, scale), a dynamic rigid body (with mass, ...
Splo's user avatar
  • 736
0 votes
1 answer
195 views

I'm not a maths person and the formulas you see on maths type questions/answer with all the symbols is completely beyond me - I'm sorry. However I had help about 18 months ago to turn a provided ...
iOSProgrammingIsFun's user avatar
1 vote
1 answer
121 views

I have a direction vector that's pointing to (0,0,1) in local object space. How can I calculate rotation needed to rotate it on Y axis so that from camera's point of view it would look as if it's ...
JuliusJ's user avatar
  • 13
2 votes
0 answers
122 views

Context I want to find the up vector an object would have if it were leaning on a surface, given a large amount of points on that surface and their associated surface normals (i.e., an equation that ...
natSegOS's user avatar
1 vote
2 answers
279 views

I have a problem more closely described on a picture below. The idea is that I have my agent in point A and I want to get to the point B. The problem is, that agents rotation towards point B is alpha ...
Peter's user avatar
  • 13

15 30 50 per page
1
2 3 4 5
50