Questions tagged [linear-algebra]
Linear algebra is the branch of mathematics concerning vector spaces and linear mappings between such spaces. The tag is generally used for questions regarding calculations over vectors.
264 questions
1 vote
1 answer
161 views
Understanding the math behind procedural aiming animation
I'm creating a procedural aiming animation system in UE5 as a learning experiment. In order to position the hand for aiming down sights, I'm using a forward vector from player camera to project out a ...
0 votes
1 answer
157 views
Is the "View transform" just a change of basis matrix + a translation applied to each point? (to bring them into camera space)
I am learning about the graphics pipeline. My understanding of the view transformation is that you: First create a normalized, separate coordinate system for the camera, based on its position and ...
1 vote
1 answer
71 views
Pan orthographic non-axis-aligned camera
I'm trying to create a panning control for a camera in bevy, but I can't seem to get the panning logic right when the camera is rotated. It works fine if the camera transform is directly facing the XY ...
0 votes
1 answer
194 views
How to tell when calculating an Intercept Point between two moving objects, when it will never intercept?
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 ...
1 vote
0 answers
76 views
3D transform hierarchy rotation applied in wrong order
I'm following in the footsteps of this blog in implementing a transform hierarchy to my game engine scenes. I have a fairly similar implementation for a 3D transform: ...
0 votes
0 answers
47 views
Ray-Sphere Intersection Always States Ray Origin Is Point Nearest Sphere Center
I am writing a simple graphics engine using Rusts WGPU. I have a Sphere rendering at the origin of my scene like so: ...
0 votes
1 answer
110 views
Getting the scalar speed from an X and Y velocity [duplicate]
Given a Vector2(x,y) that represents an object's velocity, like so: ...
0 votes
2 answers
446 views
How do I use these Unity math functions in Godot C#?
Here's a list of math functions I'm having trouble finding a direct function match for in Godot C#: ...