Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [simulations]

The imitation of a real-world process or system.

0
votes
0answers
18 views

What is the minimum system config need to render photorealistic human and cloth using PBR? [on hold]

We need to render a photo realistic human figure with muscle movements with photo realistic cloth simulation in realtime . The figure don’t have any background . That is only the human figure with ...
0
votes
2answers
103 views
1
vote
1answer
98 views

What technique can I use to animate interaction between tiny objects in a sim game?

In simulation games like Sim City and Factorio, there are numerous interaction between tiny objects that needs to be animated. e.g. random people walking on the sidewalk, then waits for a bus, then ...
0
votes
0answers
37 views

How can I get rid off the imprecision of the model matrix when I using WGS84 as the coordinate system to render the earth?

The global coordinate of WGS84 is too big, a float is not accurate enough. The only two ways I can come up with are using dmat replace for mat or transferring the modelview matrix rather than the ...
41
votes
3answers
5k views

How can bays and straits be determined in a procedurally generated map?

I've got a procedurally generated map using Voronoi cells, with a defined sea level and a believable height map. So far, I've been successful in labelling certain geographic features: land, ocean, ...
0
votes
0answers
30 views

How to deal with VBO and obj files for physics simulation?

I'm having a hard time struggling with obj files and clothing simulations. I first made the obj file processor class that deals with the typical obj file problem: having multiple indices for vertex ...
0
votes
0answers
16 views

Simple Automation of Car Path Finding Between 2 Points [duplicate]

I would think that it would be simple to have a car drive from A to B, but apparently I haven't been able to figure it out. My goal is to have a car begin at a certain position and angle, calculate ...
0
votes
0answers
35 views

Clutch slipping effect

I have modeled a 3D bus so now I'm working on the motor and gearbox script for a bus game simulator. All seems to be ok but I want to create a clutch slipping effect and I'm really disapointed. Here ...
0
votes
0answers
87 views

Wind Trees from Book of the Dead in a Separate Unity Project

I want to make wind work on a project separate from Book of the Dead demo. I've been able to import the tree assets, plus the WindControl script and two helpers ...
2
votes
2answers
91 views

most compact way to represent dice face translations rolling in cardinal directions

I'm making a 2-D dice rolling game in BASIC (think mechanics similar to Devil Dice on the Playstation, but top-down 2D graphics). I'm trying to accurately represent the transitions of a die when ...
1
vote
0answers
40 views

Keeping simulations in sync over long periods of time

I'm working on a multiplayer game which involves a huge amount of predictable AI enemies, and a few other players. The enemies are the most important to be accurate, because the game involves pixel ...
1
vote
2answers
67 views

Calculate gravity between two intersecting bodies

I've been working on a 2D gravity simulator for some time and I'd like to add some surrealism to it by creating planets that can't collide with other planets (passing right through them). The problem ...
0
votes
1answer
40 views

How do I move many “static relative to each other” objects around?

I'm currently building an Elevator Bank simulator in Unity3d and I'm stuck on how to reduce the amount of objects it's going to generate when it's done. The simulator will consist of one player (for ...
2
votes
2answers
51 views

How do I use delta time time-stepping in a triple-buffering scenario?

I am creating a graphics application in Metal. One of the things we are suggested to do is to use triple buffers in order to allow for the GPU and CPU to work more in parallel. Essentially instead of ...
0
votes
1answer
100 views

How can I access an OpenGl buffer from within a GLSL 330 shader?

I am currently attempting to create a simulation using OpenGl's GPU acceleration for both the simulation computations and rendering. The rendering portion of my simulation is complete and working, but ...
1
vote
0answers
78 views

Is it possible to run two unity simulations at the same time on same computer?

I know it is possible to open multiple unity projects at the same time on the same computer but is it also possible to run two unity projects at the same time and on the same computer. I tried running ...
1
vote
2answers
114 views

Simulating an aging population

Introduction: The main idea is to "classify population as they age". Let me further explain it with an example: Example: There are 50k population (we are not going to care about if male or female ...
3
votes
2answers
434 views

Two Army Battle Simulator

I'm currently developing a small game project on unity (with purpose of learning C#) where each player controls a base and can build buildings, do research, build units, pretty much the basis. I ...
1
vote
2answers
136 views

What is the unit of speed in unity3d?

I have cars in my unity scene, I am not sure in what units speed is specified in unity.
1
vote
0answers
144 views

Can running unity of a system with nvidia graphics card speed up the simulation?

I have a nvidia GTX 1080 graphics card in my computer, I don't know if unity by default makes use of GPU. Does having a GPU helps to speed up unity simulations.
0
votes
0answers
80 views

How to speed up Unity Simulation?

I am trying to collect some data from UNITY but it is taking forever. I increased the framerate to 5 which accelerated the simulation without compromising the output but still it's slow. I am ...
1
vote
0answers
67 views

Simulating a curled phone wire in Unity

I'm made a model for a project at work (depicted in the image bellow) that requires me to create a somewhat realistic movement on a curled phone wire. Here is what i have tried so far: I've tried ...
4
votes
1answer
193 views

Effective & Efficient Way to Simulate a Desert

Introduction I hope that this question isn't too broad, my apologies if it is. Anyway, getting to the point, our video game is set in ancient Egypt and, to nobody's surprise I'm sure, Egypt has a lot ...
3
votes
1answer
572 views

Is there a way to run Unity without rendering the scene on the monitor (headless)?

I am doing some machine learning and I get my environment from Unity in the form of images but the training is taking too long and it keeps me from doing anything else on my system. Is there a way to ...
6
votes
4answers
289 views

physics engine without time steps

I'm looking for physics engines that doesn't use time steps. I don't think time steps are reliable, and I don't like how without tweaking the engine a bullet going too fast can pass through a wall ...
3
votes
2answers
87 views

Impact of increasing physics simulation rate

I am working one Mini Golf game development using Scenekit (iOS). To fix one of the problem with Scenekit, I have to increase the physics simulation rate by 4 times. Questions: What is the impact ...
0
votes
1answer
186 views

How do I prevent floating and jittering when on the ground and using spherical gravity?

TL;DR: My ship floats and jitters when it lands on a sphere. To elaborate on the title: I'm experimenting with a 3D space game. I have created a sphere, which in turn has a larger sphere overlapping ...
0
votes
1answer
39 views

Applying friction force not working correctly

I have a simple physics simulation I'm creating whilst following the Nature of Code tutorials on YouTube by Daniel Shiffman, at the moment I've just started learning about friction and have had a go ...
1
vote
1answer
120 views

Poisson Distribution and Traffic Flow

I'm attempting to create a simulation of car traffic and to model the flow, it seems like Poisson Distribution would be useful here. I'm still trying to get my head around the variables I would ...
0
votes
0answers
141 views

Variable Car Simulation using Waypoints

I have a single lane road and I want cars to drive along it. I want variables such as car speed and gap lengths between cars to be changeable. I have already implemented this simply using a Waypoint ...
0
votes
1answer
65 views

Is a large-scale simulation of movable land possible? [closed]

I was recently reading about a nuclear waste containment area buried far beneath the desert in New Mexico (WIPP), and upon looking at diagrams I wondered if it would be possible to create something of ...
1
vote
0answers
20 views

Term for “Massively Multiscale world browsing”?

There is a type of multi-scale world browsing that has appeared in games in the last few years and I would be interested to know if there is a specific term that this browsing is known as and more ...
1
vote
3answers
492 views

How to make a noise gradient?

Introduction: I am working on a heat map made by Perlin Noise with the next result: (Figure 1) ...
1
vote
1answer
299 views

Simulating a real camera's perspective projection

I'm trying to simulate a real camera's perspective projection of straight, parallel lines running along the ground (one-point perspective) by mapping the real-world 3D coordinates of the lines to 2D ...
1
vote
1answer
97 views

Synchronise events in Multiplayer Game!

I am trying to make a fighting game where two characters are fighting with hands or can have some weapon in their hands. It's a multiplayer game targeting initially for mobile devices. In Game, there ...
0
votes
1answer
93 views

How to simulate camera turbulence for in-game cinematics [closed]

Are there any good algorithms for generating a convincing turbulence effect that can be applied to an in-game camera. For example, in use cases such as the viewpoint of a plane flying low and fast ...
1
vote
0answers
352 views

Drawing realistic 2d waves with SDL2 and Rust [closed]

I am making a very simple 2d topdown sailing simulator with Rust and rust-sdl2. I am having a very hard time figuring out how I should implement wave rendering. My current idea is to use a ...
5
votes
1answer
752 views

How can I simulate relatively realistic weather?

I'm trying to create relatively realistic weather patterns for my game. The simulation should handle temperature, wind, cloud formation and evolution, fog/mist, rain, snow, etc., and account for ...
1
vote
2answers
500 views

Physics engine and squishing of stacked objects

I have a general question that seems to apply to most physics Engines (Box2D, Unity, Matter.js, …). I'm trying to make a tower of rectangular objects that are stacked on the [static/mass=infinity] ...
2
votes
1answer
142 views

What functional abstraction to use for multi-agent simulation?

this is quite a broad question, touching a few different fields, so let me know if there's a way to narrow it down. What I would like to know is your opinions on what abstraction to use for my use ...
6
votes
1answer
343 views

What are the practical differences between discrete and continuous simulations?

I've done some research regarding how to simulate a game world, and it seems that I need to decide whether I want to write a continuous or a discrete simulation. From my understanding, in a ...
4
votes
1answer
957 views

How to simulate car drivetrain (in Unity)?

One of my hobby projects involves cars. Up until now I had a quick and dirty "one class" implementation of engine+gearbox+wheels, but I thought that this is ugly, and I want to go a bit more realistic....
1
vote
0answers
85 views

How to edit visual appearance of mod in Euro Truck Simulator 2(ETS2)

Not sure if this is the right place, so here goes nothing... I want to update my truck's appearance in-game, to make it more on par with it's real life counterpart. The part of the truck I want to ...
11
votes
2answers
626 views

How is structural analysis done in games (e.g.: bridge building, Dig or Die, and 3D)?

From what I understand a typical interactive truss system would need substantial calculations since every component affects the entire system. I think you could arbitrarily stop at a given number of ...
1
vote
2answers
85 views

Simulate dirt spread (Normal distribution?)

-This question is technically more math related, but it has to do with a simulation so I am here first. I can post this in the math SE instead if needed. I am in the process of trying out some mesh ...
1
vote
1answer
85 views

Simulating Physics - dt vs formula

I was just wondering, when simulating physics is it usually a good idea to get the time delta from the last frame and apply the relevant motion equations? Something like: ...
1
vote
2answers
79 views

How can I make sure multiple player scripts all get the same amount of execution time per game tick?

I'm looking for a way to allow players to write code in a high level language, but I need to be able to keep all script instances synchronized in terms of script execution time per game tick so that ...
2
votes
1answer
333 views

Simulation of a two-masses connected by a rod 2D system

I'm working on a multitouch-based interface and I want to add some physical behavior to gestures (pan, zoom and rotation). I thought model the system like that: When a touch starts, a point mass is ...
1
vote
1answer
177 views

How should my creatures see the world?

This may not be the best forum for this question, but I know a lot of you have dabbled in the field of general AI for games so here it is. I'm doing the cliche population evolution of creatures in a ...
0
votes
1answer
78 views

Should the Sprites in my Boids implementation be backed by model objects?

This question is about the proper way to architect an implementation of Craig Reynolds Boids algorithm. I have an Agent object like this: ...