13 questions from the last 7 days
1
vote
1
answer
86
views
How can I make liquid in my vr bartending game
I'm working on a realistic VR bartending game for Quest, and I need some help with making bottles pour liquid into cups. I'm aiming for a system where:
When a bottle is tilted, liquid pours out ...
0
votes
2
answers
51
views
How to make a raycaster render complex scenes?
I have written a simple raycaster in C++ which can render wall based scenes like 3d mazes. On YouTube I saw a video showcasing 3D games made in Scratch. One of the games were a 3d racing game where ...
0
votes
0
answers
43
views
Pygame won't display volume control
I'm making a game in Pygame running in Python 3.10 and the lastest version of pygame, and I can't get to display a volume control for the background music . The music is played correctly, but there is ...
1
vote
0
answers
17
views
How to Access Neighbor Chunk Block Data
In my voxel engine, each chunk has a 3D-blocks array that measures 17 x 100 x 17. The width and length of chunk is 16 but I added a padding to the array to store block data of a neighboring chunk.
...
0
votes
0
answers
16
views
Structuring Actions in Utility AI
I'm building a grid turn-based game, and I have a couple of questions about Utility AI that I can't wrap my head around for a couple of weeks.
Suppose we have a unit that can move X tiles and attack ...
0
votes
0
answers
37
views
How to move objects in a wavy pattern in a specific or given direction?
I'm making a bullet hell and I want to handle a variety of movement types for my bullets (waves, flying in circles, spirals, etc). I'm currently using the following to handle linear movement at a ...
0
votes
0
answers
29
views
How to instantly stop when moving the character with AddForce?
I made character movement using AddForce. But I don't understand how to get the desired effect. I need that when I release a movement key (for example WASD) the ...
1
vote
0
answers
36
views
Train simulator - approach to cars movement
I'm prototyping a train simulator and running into design issues with physics and train car movement. The scope is similar to games like Run8, SimRail, or Derail Valley.
Requirements:
Realistic train ...
0
votes
0
answers
32
views
How can I address multiple collisions within a single frame?
So, in my breakout clone, I've encountered issues where the ball will sometimes phase through bricks and the borders if it collides with one and then immediately collides with another after. My guess ...
0
votes
1
answer
9
views
Navmesh Agent unable to cross doorway?
I am facing a strange issue where the navmesh agent is unable to cross a doorway. It used to work earlier but now suddenly it does not anymore. I am unable to find any possible colliders or objects ...
1
vote
0
answers
5
views
I'm having trouble with collision detection in Unity
I'm currently working on my first game in Unity, and I'm having some trouble with attacking. Currently, I have a game object with a 2D capsule collider child. When the attack button is pressed, the ...
0
votes
0
answers
16
views
Reserved Memory Keep Increasing When Loading the Same GameObject Using Unity Addressables
I'm trying to learn how to use Addressables in Unity to improve memory usage, but there's something I don't understand.
I use the ...
0
votes
0
answers
6
views
Original pacman hitboxes and cornering
I have been working on (somewhat) faithfully reimplementing pacman as a sideproject and means of better learning the rust framework Bevy.
However, there is one part that I really cannot quite get my ...