0
votes
0answers
5 views

Deleting faces or triangles from an object by material on load scene

I have objects that have multiple materials imported from blender via FBX. I'd like to find for some objects what materials are used and destroy faces when a certain material name is used ("!null" in ...
0
votes
1answer
18 views

Both are scale 1, one is a lot smaller

http://image.prntscr.com/image/7347e1c96d3046c189b1067b8782cc83.png Both of these balls are the same scale (1) but one is a lot bigger. What can cause this? I don't think I've ever scaled the ball ...
0
votes
1answer
11 views

Unity drag and drop

I just wanna ask if it is possible to drag and drop a gameobject in specific place. For example i want to put an LED sprite in the hole of the breadboard sprite.
3
votes
2answers
1k views

Why do most racing games have tracks that are closed loops?

In most racing games (Mario Kart, Sega Rally, F-Zero, etc.), racers typically make some number of laps in a closed circuit. The most notable exceptions that come to mind are all arcade games, or ...
1
vote
1answer
37 views

Unity2D: Frost Effect Animation

I want to know is there a way of using Mathf.SmoothStep to control the float of a variable? You see I downloaded this package on unity assets store and created a IEnumerator OnTriggerEnter2D (in a new ...
0
votes
0answers
8 views

Moving an object along a network-like Map

Here is what Im having trouble at : 1) I'm trying to figure out how to let each object know its connected neighbors in this Network-like map (image below ) ,I don't know how to do it right and couldn'...
0
votes
0answers
14 views

Stopping Movement after Collision with a Bounding Box in a 3D Space

So I am working on a 3D project in Java using the OpenGL libraries. Currently, I am able to load models (.obj files from the program Blender). I have gotten to the point where I can calculate the ...
0
votes
0answers
14 views

Object outlining, stencil is not working WebGL

I can't seem to figure out my problem with stencil buffer in object outlining algo. function init() { ... gl.enable(gl.STENCIL_TEST); gl.stencilOp(gl.KEEP, gl.KEEP, gl.REPLACE); ... } ...
0
votes
0answers
18 views

Travian Map with tiled staggered isometric in xamarin cocossharp

I want to create a static staggered isometric like Travian map in Xamarin (Nothing moves on it , just like travian) Is Tiled with CocosSharp the way to create it ? (Please gimme a link to a guide if ...
1
vote
0answers
15 views

Having a material in Blender that is ignored in Unity

In the old days when I was still designing levels for Half-Life, we had a !Null texture. It looked somewhat pink and made the render engine just ignore the face. Is there a (easy) way to replicate ...
1
vote
0answers
22 views

Whats a good way to implement a game over screen with levels?

Okay so my question is basically what the title is. Are there efficient ways to do so with saving level data and what not? Or using boolean variables to keep track of which levels are running and what ...
1
vote
0answers
15 views

Does anyone have a example of Dual Contouring in C#?

I'm trying to develop a method of creating terrain using Perlin. I've followed plenty of the Minecraft tutorials, and got them to function. I've done some playing around with MarchingSquares, but I'm ...
0
votes
0answers
19 views

Unity3D: Find Raycasthit direction

I'm trying to make a Billiard game and I wanna calculate the direction on which the Cue Ball(white ball) will be moving after it hits another ball. As you can see I wanna calculate the angle/...
0
votes
1answer
17 views

Need an example of a HLSL Compute Shader

For whatever reason I'm finding Compute shaders very confusing. I was wondering, if I were to provide an example, and maybe one more later, if someone could demonstrate how to convert it into a ...
1
vote
3answers
83 views

Physics feel wrong

This is how my game looks so far: I feel the physics are off. The ball is just instantly slowing down instead of flying across that floor. You can see the drag is turned down so I don't know why ...

15 30 50 per page