Questions tagged [simulations]
The imitation of a real-world process or system.
197 questions
4
votes
1
answer
241
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 ...
1
vote
1
answer
138
views
Tile map atmospherics
I am thinking about a game prototype and want to try to implement tile map atmospherics like SpaceStation13/14 does. I am pretty lost on how to implement this though. Can I use something like the ...
1
vote
2
answers
145
views
Bullet Physics stopping model from going through static object
Bullet physics tunneling problem:
yellow box(dimensions: 2f, 2f, 2f) that falls under gravity. Its Bullet Physics are set as such:
...
0
votes
1
answer
265
views
How do I code realistic rocket engine plumes in Unreal Engine 5.3.2
Right now, I am programming the engine plumes for a game called Spaceflight 3D, or basically a better version of KSP2 that my team of developers are working on. Mainly to be made for my company to ...
1
vote
1
answer
197
views
How can I simulate locking or limited-slip differentials in Unity?
I have been developing a racing game in Unity for a few months and I can't find any information on how to simulate a car differential.
Right now I just split the torque generated by the engine 50-50 ...
1
vote
2
answers
392
views
Bullet Physics Multi-threading Rigid Body transform jittering issues across threads
I've been working on a game using Bullet Physics for C++ as well as SDL for the windowing (with OpenGL)
I've recently threaded the game, so that a separate while loop runs the Physics Simulation, ...
0
votes
0
answers
183
views
How is terrain collision handled
GJK can be used for all shapes but what if the points in a figure aren't indexed, then how can we get the Minkowski space by adding the correct pairs of points even though we don't know them, and also ...
2
votes
1
answer
411
views
Implementing clutch kicking in a racing simulator
I'm currently in the process of programming a racing simulator. I currently have a full drivetrain set up that includes an Engine, Transmission, Transfer case, and differential.
The engine has two rpm ...
0
votes
0
answers
98
views
Motion of a cube after it bounces off a floor
I am trying to simulate what happens when a cube hits the floor after free fall. I am considering a situation in which cube hits the floor with its edge. There is obviously reaction force from the ...
1
vote
0
answers
90
views
Rotating a chain of linked rods without penetrating a surface
I'm developing a game where the game character is a catheter that is simulated as a linked rod (4 particles linked together) and it is in an environment with solid walls. The objective is to maneuver ...
0
votes
0
answers
60
views
Best approach to model slipstream?
I am looking for a way to model slipstream effect in videogames.
The two use cases I want to look at are a simple racing game and the simulation of a peleton (a big group of road bike riders), both in ...
0
votes
0
answers
107
views
How to simulate multiple sizes of clothing on a character?
I'm new to Unreal Engine. I've searched a lot about creating clothes for characters, but haven't succeeded in finding a working solution for this request.
I'm trying to create a virtual try-on ...
2
votes
2
answers
489
views
Population growth equation
I'm at the very early stages of designing a game in which the population increases / decreases according to other factors (eg. crop yield / food scarcity, industrialization, global warming?, wars, ...
2
votes
1
answer
415
views
How do you quantify a relation between 2 countries?
I am trying to create a computer game similar to that of Europa Universalis or Civilization. FYI, those are grand strategy games - you select a country and try to guide it through the years in order ...
0
votes
0
answers
150
views
What's a good architecture for a simulation?
I have a concept that involves a world being simulated. Lots of entities and processes acting upon them, not to mention interactions, etc...
Every SimulationTick, ...
0
votes
0
answers
274
views
How to add mouse aim to flight script
I am making a flight combat game and I want to add mouse aim to control to the flight script I am using. Is there any way I can add mouse aim to my script similar to Warthunder's mouse aim. Mainly ...
1
vote
1
answer
121
views
How to best simulate the space in a boxing game to account for footwork and angles?
When trying to prototype a (top-down, so far) boxing simulation I've run into a huge roadblock with trying to set the space in which the boxers will fight, because it's important for the fighters' ...
2
votes
1
answer
938
views
Generating Realistic Looking Wire in Unity
I'm designing a game that involves the simulation of a breadboard. I would like some advice on the best way to simulate jumper wires used to connect various places on the breadboard together. I have ...
3
votes
1
answer
134
views
Is it possible to correctly catch up a particle system simulation based on long delta time between many frames?
I have a particle system with a physics simulation integrator based on delta time (elapsed time between frames) which is implemented on the GPU in a compute shader. I also have a frustum culling ...
2
votes
1
answer
218
views
A ball hits the corner slightly, where will it deflect?
I am currently making an iOS Game but I have a small problem. The game is simply a ball which you can control to avoid obstacles and find the food. When the ball hits, e.g. the top or the bottom of an ...
2
votes
1
answer
968
views
Simulating Gas Density and Pressure in a 2D World
I'm building a small spaceship simulation app that looks a lot like a game for an upcoming talk I'm giving where I use this sample app to teach the F# programming language.
This small app is ...
1
vote
0
answers
78
views
How can I realistically simulate audio for multi-sensor processing?
I am performing audio simulations in Unreal Engine 4.
Ideally, I need realistic audio propagations. So microphones at multiple locations will experience propagation delays related to their distance ...
0
votes
0
answers
408
views
Kinetic sand simulation
I want to simulate Kinetic sand's behavior in my game. I could implement operations such as slicing and cutting using simple mesh cutting algorithms but I want to implement complicated operations such ...
0
votes
1
answer
193
views
Design pattern for AI cooperation
I'd like to implement an AI for my game, which has agents that should be able to take care of themselves.
The Sims use a system of smart objects that advertise their services, a design pattern that ...
0
votes
1
answer
1k
views
Is it possible to run simulation of two scenes simultaneously in Unity3D?
I have got 2 scenes in a unity project and want to play simulation of both the scenes in parallel. Has anyone tried this?
Thanks!