Questions tagged [geometry]
A branch of mathematics concerned with questions of shape, size, relative position of figures, and the properties of space.
538 questions
0 votes
1 answer
78 views
Does it make sense to use a compute shader with Dispatch(1,1,1) and Numthreads[1,1,1] to draw a cone?
I was working on this idea of drawing a cone rotating on the y axis with a parametric equation, using a compute shader with a function like: ...
1 vote
1 answer
126 views
Two Point Alignment Transformations
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 ...
1 vote
1 answer
577 views
Given two points (A and B), how can I obtain a point a set distance along the line between them?
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 ...
0 votes
1 answer
131 views
How to calculate the border hexagons in a grid with blocking elements?
I have a hexagon grid with cubic coordinates. I want to calculate clockwise all border hexagons for a given movement range. At the moment, I am iterating every neighbor that is not in the range and is ...
0 votes
0 answers
65 views
LibGDX Model not rendering
I've been trying to learn libgdx's 3D functionality, because I want to make a turn-based game set on a 3D hexagonally tiled sphere. As a simple starter project, I decided to try to create a simple ...
0 votes
2 answers
116 views
How determine whether a quad of a grid mesh is too steep to move onto, without using a NavMesh?
Godot 4.1 Assume we've got a simple, 100x100 cells grid-based generated mesh that will serve as the game's level: This mesh is exported as either .obj or .glb and imported in Godot. The player (...
1 vote
0 answers
122 views
How can I determine which parts of the skeletal mesh should be sliced?
I am currently trying to replicate skeletal mesh slicing, akin to something Metal Gear Rising: Revengeance did. So far I've managed to successfuly get some puzzle pieces of this whole thing together, ...
1 vote
1 answer
188 views
How to rotate a 3d grid?
I have a spatial hashing grid that's mapped out like ...