# All Questions

3 views

### Not able to clone existing or new git repository using SSH

I have setup few bare repositories on my Windows SBS 2011 server. This server is locally connected to my Windows machine. I am trying to clone the repository using SSH. I am getting following error ...
4 views

### Minecraft/OpenGL - Create Multiple viewports

I'm working on a project for the game and i have been trying to draw a second smaller "window" that would act like a second camera, independent from the player. I have looked into glViewport however ...
5 views

### unity instant preview not working on google VR

i have setup environment variables but it still shows instant preview in a moment and jumps out. i have this warning on log: ...
7 views

### System.Net.Http.dll and Unity 2018.2.1, 2.2, 2.3 are conflicting, assembly reference keeps being deleted in VS 2017, any suggestions?

I'm looking for some suggestions on how to fix a strange bug i've been getting with System.net.http.dll. For the record, builds work fine as i have the mcs.rsp file in the /Assets/ folder with "-r:...
14 views

### How to apply fast & slow camera transition

I know there is a lerp function there that smoothens the camera but I wanted it to work the other way around. Lets say starting position of the player is at the left side of the camera/screen and when ...
9 views

### How to select an object in a 3D world with mouse only?

I'm developing a bot for a 3D game MMPORG. In it you move the Player Character with the keyboard in a 3D Landscape. Selecting objects or mobs is done exclusively with the mouse: point and click. I ...
10 views

### Unity: Car Rollover Protection

I have a standart Unity car with Unity Car physics. What would be the best approach to protect my car from a rollover? I dont want to mess up and try and error 10 different approaches, so maybe here ...
31 views

### What production tree design should be in resource management game?

What is the optimal way to make a fun and engaging production tree for a resource management game? How complex do the components need to be and what is the limit of complexity most players will be ...
8 views

### Unity (2D): Masking part of objects out of field of view

I'm working on a 2D Unity project where people can only see objects in their field of view. I have successfully created a quad overlay that masks out any ground outside of your field of view. What is ...
37 views

### Why do games use tick rates in their networking and servers instead of an event system?

Why do most games limit themselves with a tick rate in their networking? Isn't it better to make something like an even system where for example client A does something then the client sends related ...
24 views

...
15 views

### Unity each gameobject found twice using FindGameObjectsWithTag

I create 5 gameobject instances: GameObject angryasteroidcloneeast = Instantiate(angryasteroid, pos, angryasteroid.transform.rotation); Triple check that ...
15 views

### how to use IMGUI similar to Unity but in c++?

The end goal that I want to do is create a simple game engine (purely for educational use and professional development). I have created an ECS (entity component system) system already and a meta ...
17 views

### (For a friend) Best location for looking for writers for games? [on hold]

I am currently assisting a friend of mine with getting her Visual Novel off the ground, but it seems the main issue she is struggling with is dealing with fleeting writers. She originally got people ...
30 views

### Need help with sorting layers on a 2D game made in Unity

I'm busy with my full blown project in unity, it's a 2D game as I thought this would make a good starting point. So to the problem, I've got 3 elements in the game. The ground, an object and a beam. ...
46 views

### How is performance when having game loop in server side?

I'm creating a game server with .netcore. I've implemented lightweight game object system, And work well so far. It have no game loop, no graphic. Just GameObject and Components kind of things. ...
15 views

### Projectile Not Correctly Inheriting Parent Velocity (Unity3D)

I am trying to fire projectiles from a player who is moving at very high speeds. The issue is that the bullets do not seem to inherit the angular velocity. If the player is moving in a straight line ...
15 views

### Unity: How to disable animation root motion

I downloaded some animations with root motion from Mixamo and the corresponding character. After created an animator with those animations and added it to the character game object, the root motion ...
40 views

### Top-down conveyor belt with Box2D

I'm trying to code a conveyor belt for a project made with LibGDX and Box2D and I would like to make it like this one from Bomberman Land Touch. As you can see, the entities standing on it should be ...
33 views

### How is entering cover animation done for cover system?

I am trying to create a cover system for my 3rd person shooter game in Unity. My implementation is a basic one : ...
17 views

### What is wrong with intersectLinePolygon method?

I need to detect intersection of a line and polygon, and now I use Intersector.intersectSegmentPolygon method (and it works well), but before that I tried to use <...
31 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 ...
30 views

### Different colors when reading image in different programs

There's one png image: http://i101.fastpic.ru/big/2018/0816/40/09a8db6d94319d9683e9360af268de40.png It's truecolor with alpha-chanel. I noticed that if I use color picker in different image editors ...
28 views

### Tetrahedron Circumsphere

Following this question, I want to create a sphere from a tetrahedron using this Wolfram support. But so far the resulted sphere is bigger than it should be and center seems to have an offset. ...
17 views

...
12 views

### Spherecast - enabling MeshRenderer of selector target around prefabbed object once hit and disabling Meshrenderer when not hit anymore

I have an interesting problem - I have been looking up for solutions on this but I think there is something I am missing and I require a little more knowledge. I have a scene and the scene has an ...
17 views

### UE4 Blueprint Node Ordering, Vector Rotation and Child-Actor Communication woes

I hope this question doesn't count as too involved or lengthy, but I tried elswhere first to no avail, so Stackexchange is my final hope to actually learn something from this mess. The reason this ...
47 views

### How to handle levels in Unity3d

I’m making a top-down 2d game in Unity3D for Android-based smartphones. Currently I have two scenes - a preloader and the game itself with all the stuff I need packed into one scene file. Also there ...
35 views

noob here So currently my game looks like the picture I have attached. Basically different levels of force exerted on a sensor respond to different colours and textures(faces) on a sphere. I ...
45 views

### The generation of planets in games like No Man's sky [on hold]

Considering that you have a "continuous transition" between the atmosphere and the surface of the planet in games like No Man's sky, the planets in games like these are acctually 2-spheres: \mathbb{...
28 views

### How to extract terrain heightmap from some free online map (OpenStreetMap,GoogleMaps, NASA WinWorld etc.)

I downloaded some small tile ( 10x10km ) from OpenStreetMap but I don't see what is the simplest way how to get actuall heightmap like this out of .osm file. I'm ...
17 views

...
74 views

### Most effective method for expensive gameplay calculations

I'm currently working on a city builder (in MonoGame) and I've a bit trouble handling my calculations. I've several calculations like "Is building connected to road", "Is building A in radius of B" ...
14 views

### unity 3d mouselook script help, weird issue

I'm coming back to Unity after a year or two of busy college and I'm having to relearn everything I've forgotten. One thing I cant seem to get right is this basic mouselook script I wrote. Here is the ...
57 views

### Game freezes, cannot see why

My game freezes randomly, mostly when changing from one level to the next. I cannot tell why this is the case. There are no errors or warnings. This happens when i build the game and when I am testing ...
34 views

### Authorization in scaling multiplayer game

I have an architectural problem associated with authorization. I'm making an MMORPG multiplayer mobile game without separation onto different servers. What I mean by that is that a player from USA ...
27 views

### How do Axis-Aligned Bounding Boxes update with rotations?

I have a bounding box class with a min (x,y,z) and max point (x,y,z). The object that is being rotated has a rotation matrix (3x3 matrix), but I don't know how to update the bounding box with ...
34 views

### Why is this Mono Behavior in the animator?

I'm looking through the 3D Game Kit from the asset store to accustom myself with the animator, and I'm just wondering what this is referring to. I was looking into controlling MonoBehaviors through ...
18 views

### Oculus Headset detached while oculus attached with the pc [on hold]

I am working on the Oculus project, The player character for my simulation in Unity. in which I have firstperson controller, I have created game object of player in which I put FPCamera as a child ...
24 views

### Move object at angle like a sine wave

I currently have this code, which moves an object in a straight line at an angle, where "dir" is the angle. velX = (float)(Math.cos(Math.toRadians(dir))) * speed; ...
42 views

### how to calculate Z cooridnate based on X & Y?

I'm new to 3d development so please bare with me. What I want to do is be able to draw a 3D cube with colored faces and rotate the cube around a X, Y & Z axis. I'm not sure if this matter, but ...
42 views

### Performant Fog-of-War With Sight Blocking in Unity

In games like Command & Conquer or Age of Empires, players can't see all of the map. Terrain and enemies are revealed only when the player has soldiers nearby. As I understand it, the most ...
17 views

### Adding large 3d models into Unity

I have a 3d model of a restraunt with several characters in it probably over a hundred objects. Whenever I try to import it into Unity Unity just loads forever until I force close it. How do you ...
10 views

### Unity working with Async and Await in Firebase

I'm implementing a little game with Unity which use firebase services. I had a little problem with Firebase RealtimeDataBase. I have a method "UpdateScoreAsync", this method publish the new player's ...
12 views

### Unity2D - Generate positions within a sprite outline or phsyics shape

I have a sprite in unity which has it's custom outline and physics shape setup in the sprite editor, I would now like to access this info at runtime and generate objects around the surface of the ...
8 views

### Issue challenge using Google Play Game on Unity

I am trying to figure out how to use Google Play Game multi-player in order to allow players to challenge friends. This is no a turn-based game like chess etc. Each one plays their own game and the ...
22 views

### Do I need to dispose Pixmap in Actor?

I create Pixmap in Actor and don't know how to dispose it. Is it necessary in my case? ...
24 views

### All time high score less than week's high score in Google Play Game

My Unity app uses the Unity Play Game plugin. I am having problems with the leaderboard. For some reason the high score for "This week" is higher than the "All time". This is the code I use to ...