
Why is my RenderTexture y-flipped? - Game Development Stack …
When drawing a very simple RenderTexture using Raylib, with the following POC code, the texture actually drawn is vertically inverted. Is that normal? If not, what did I do wrong? #include "ra...
3d - How can I detect collision between a box and a minimum poly ...
Feb 23, 2025 · Mostly a C++ newbie, trying to do a 3D game in Raylib. I have a set of fairly irregular meshes that I'd like to see if a box collider has penetrated. For this project, a fairly high level of accuracy
Proper 2D isometric tile depth sorting? - Game Development Stack …
Dec 1, 2019 · I'm using Raylib, and I'm attempting to place tiles on a level, and the algorithm for placing the tiles is working. The problem is that the player will display over the walls on the bottom right h...
raylib - Can't make circles collide using Box2D - Game Development ...
Apr 7, 2025 · I'm completely new to Box2D. I'm implementing some tests with Raylib. I managed to implement the collision between static and dynamic rectangles and now I want to insert circles into …
Converting IntPtr to objects (here Raylib Material [])
Nov 29, 2020 · I Had to add Raylib name before LoadTexture and GenTextureMipmaps because else it would not work since these are static methods from the RayLib cs binder. So on a technical point, I …
How do I get a 3D collision with a Heightmap in Raylib?
Jan 29, 2025 · However, if the player is at the height of total white while positioned on a black square (XZ), eg. B04, then they're high over the canyon and not colliding. I can't seem to work out how to …
Audio popping and cracking when looping sinusoid
Sep 5, 2022 · I'm trying to play a "simple" generated looped sinusoidal wave with raylib and Go but, although it plays I also get audible cracks. Checking some online examples, I see that a common prob...
Why is raylib not drawing one corner? - Game Development Stack …
Mar 31, 2025 · As the issue mentions, it is ultimately OpenGL rasterization. And as far as I can tell Raylib does not have a general solution. Edit: I guess the general solution would be a triangle strip …
How can I calculate the translation used for rotating an object with a ...
Your raylib code does not replicate this off-center pivot. You construct your quad symmetrically: topLeft is -1 * bottomRight and similarly for topRight and bottomLeft. So you've placed the pivot, the local …
Fade edges of 2D spline-mesh - Game Development Stack Exchange
Nov 2, 2023 · 0 I'm re-writing my Unity game in Raylib and are trying to recreate a path/road-shader I made with Shader Graph. The first picture is how it looks in Unity, with faded/blurred edges. The path …