A mathematical concept that can be used to express position, direction or velocity and which can simplify or outright trivialise spatial problems.
2
votes
2answers
100 views
Relative cam movement and momentum on arbitrary surface
I have been working on a game for quite long, think sonic classic physics in 3D or tony hawk psx, with unity3D. However I'm stuck at the most fundamental aspect of movement.
The requirement is that I ...
1
vote
1answer
270 views
Ball bouncing at a certain angle and efficiency computations
I would like to make a pong game with a small twist (for now).
Every time the ball bounces off one of the paddles i want it to be under a certain angle (between a min and a max). I simply can't ...
1
vote
0answers
60 views
Rotate Points with Object in world space
I posted this in the original stack overflow then realized that a game-dev specific one exists.
I am working on personal project that requires me to have 4 points surrounding an object (1 at each of ...
1
vote
0answers
243 views
Calculate initial velocity of a 3d vector-based projectile
Okay, so I got a Projectile with 2 Vectors, position and velocity.
I now want to calculate the initial velocity for it in order to reach a specific point on the map.
Or actually, how high has the ...
0
votes
0answers
38 views
JavaScript “Floats”, or ThreeJS wrong positioning?
I want to learn how to use Vectors with 3D.
Here is a strange Error I have encountered today.
Instead of stopping exactly on the other Cube, I get this:
When I change the IF to (cube.position.y ...
0
votes
0answers
51 views
Uses for vector projection?
My previous question was solved by vector projection. Thus I spent some time studying it (Few helpful links: Interactive projection, short video and a longer video.).
There were plenty of sites that ...
0
votes
0answers
40 views
Transform a Screen Delta
I have a delta in screen coordinates that I want to transform to a 3d delta in world space.
The delta is in this case a movement across the (x,y) coordinates in screen space on the near projection ...