All Questions
8,974
questions with no upvoted or accepted answers
1
vote
0
answers
396
views
How do I make 2d collisions based on color?
I'm a Unity noob; digital artist, first and foremost. I just want to know how I can make a simple collider for my 2d car, based on the 2 colors of this 2d map. I want it so the car doesn't touch the ...
1
vote
0
answers
20
views
Script of trajectory without itween
I use itween for trajectories of car.
I do not want to use him anymore because I find him very heavy.( more 100 cars in my scène)
I found scripts but all one a variable speed to turn around points.
It ...
1
vote
0
answers
70
views
Finding the Dimension of OBJ objects
I am having a Three OBJ file , Cone , Sphere and Cube. How can i find the dimension of these objects , so that i can use it in ...
1
vote
1
answer
228
views
Libgdx Box2d RevoluteJoint And Attached Body Interfering With Main Body's Y-axis
I am making a 2d platformer where the character has a melee attack. To achieve this, I created a new arm body which I attached to the player's torso body (comprised of two circles). However, this ...
1
vote
0
answers
166
views
How to Rotate a Circle Around Its Own Midpoint
I have rendered a circle using OBJ file. Now I want to rotate it around its own axis, like YouTube buffering icon. How can I do that? I'm working in OpenGL.
I can change its x, y, and z rotation ...
1
vote
0
answers
599
views
Opengl - SpotLight shadow map issue
I have a light / shadow system that implements a spot light too.
Every lights are working fine, but the spot light is acting weird.
If i dont use any type of "shadow softening" method, it works ...
1
vote
0
answers
688
views
2D Voxel isometric rendering with non grid-aligned objects
I'm currently working on making a simple SDL2 game (written in C++) where the maps are comprised of sprite voxels (essentially just a png of an isometric cube). Game entities move in 3D space. The ...
1
vote
0
answers
72
views
How dev consoles work?
I want to implement a dev console similar to what is in DOOM.
Is there a standard implementation for dev consoles or would I have to build everything from scratch?
1
vote
0
answers
1k
views
how to properly rotate in directX11
I am trying to Rotate a textured quad in directX however I think i am missing something. I am pretty sure it is because i am applying transformations to the WorldMatrix instead of the ObjectWorld, ...
1
vote
0
answers
46
views
Children of canvas objects do not register OnMouseUpAsButton
Objects I create inside my canvas do not register the OnMouseUpAsButton() event. I tried doing it on an empty project and it doesn't work so I guess I'm ...
1
vote
0
answers
61
views
Swapping a mesh from MCS female to a custom mesh
I'm trying to swap a mesh from the MCS female CBJacket with a custom mesh that's supposed to be a lab coat. But it keeps turning in to a ball of spiky mesh! I made sure the avatar and armature for the ...
1
vote
0
answers
112
views
Can we access the internal array of a Android Bitmap?
Does an Android Bitmap function similar to a BufferedImage? When you get the internal pixel buffer as an int[] or as a byte[] and update the values inside them, the image changes. Is that the same ...
1
vote
0
answers
247
views
Game Maker - Shader CGA - how to swap the palette
I created a shader that get the actual color of the surface and render it to the closer of a cga palette
I have to change it to swap the palette in 4 colors but I don't know how
secondary, I have to ...
1
vote
0
answers
194
views
Why not tiling on Shader (Sprite/Diffuse)? Unity 5.4.1 f1
Why not have the "Texture Tiling" option in my editor for Sprite / Diffuse?
1
vote
0
answers
92
views
Oculus Rift DK1 and DK2 compatability issues
For a project I need to make a multiplayer game using Unity and the Oculus Rift. My project works fine with the DK2 but it turns out the second rift is a DK1 and it won’t work with Unity. I was ...
1
vote
0
answers
169
views
Efficient way of training a chabot AI
I am currently working on a chatbot game using Python 2.7.10.
I use the Chatterbot library.
This library seems to do all I need but the training data (or corpora) are very very limited.
I haven't ...
1
vote
0
answers
268
views
Unity hangs when adding a GameObject to a List
Since 3 days ago Unity started freezing after adding a GameObject to a List. I haven't changed anything in that particular code, so I have no idea why this is happening:
...
1
vote
0
answers
88
views
My Character objects are complex, how should I organize their structure?
I'm using Monogame to make a fighter. I have created an abstract Character class that has basic character functionality such as HP, meter, update boilerplate and such, and will be overridden as each ...
1
vote
2
answers
453
views
Particles not rendering over projectors
I am using projectors for shadows...When I use particles for bike speed up i.e., nitro speed the particles get cutout by those shadows....
Here is screenshot of it,
Here is my shader code of ...
1
vote
0
answers
338
views
Issues with the camera following the spline
I am trying to make a roller coaster and currently I have created a spline class which loads a spline from a text file .
So I have all the points and I have a Catmull-Rom Spline function but I have ...
1
vote
0
answers
1k
views
Creating a smooth transition between materials on large models using Unity and/or Blender
I'm not sure if this is possible or not but I would like to create a smooth transition (cross-fade) between two textures on a 3D model made in Blender that can be imported to Unity.
For example if I ...
1
vote
0
answers
150
views
How to get what button was clicked on?
Other contexts in which this was done I'm sure have been answered for this kind of problem before. But this has thus far been a 2 week long impasse of wittling down all the other suggestions I've seen ...
1
vote
0
answers
56
views
Why do my particles appear darker the farther I get from them?
I've created the following material:
I've set up a particle system that places that material around like a cloud:
Up close, I'm getting the result I expect:
But if I go far enough, it looks like ...
1
vote
0
answers
658
views
Directx D3D9 fails to render a primitive on a RenderTarget surface
So for some reason DrawPrimitive() doesn't seem to work with my render target surface.
...
1
vote
0
answers
827
views
Libgdx - Building dynamic 3d models with Modelbuilder/MeshPartBuilder while rendering
Context: I'm building a mobile game targeted for android with libgdx. It's an endless highscore based game. The environment/terrain is build dynamically. It's kind of a maze/wall/block terrain. I'm ...
1
vote
0
answers
425
views
Google Play Games Services keeps finding conflicts in my saves!
I have been using Google Play Games Services (play-games-plugin for unity) for a while without problems. After a couple of recent changes I noticed that the plugin won't sync my saves anymore.
Trying ...
1
vote
0
answers
218
views
Playing a video in AR using Vuforia and Unity 5
I am trying to play a video in augmented reality using Vuforia and Unity5. I followed a few videos but I am still not able to play it. Can anybody help? I get the "error texture icon" instead of the ...
1
vote
0
answers
605
views
Create a stack driven coroutine based state machine for Unity
I am working on a game where I am using a coroutine based state machine which is mostly a multi class implementation of this link. I am using it because it allows me to create multi frame sequences.
...
1
vote
0
answers
711
views
Video play in unity3d skybox
I want to play 360 video in skybox. Is there any direct way avaiable to do this task. One long, boring, inefficient procedure which seems that
Convert 360 to frames
Convert frames into cubmap
Use ...
1
vote
0
answers
287
views
Unable to convert classes into dex format
It's my first day using Unity, so be gentle :)
I've spent a good number of hours trying to find the solution to this problem that I'm having when trying to Build & Run my GearVR application in ...
1
vote
1
answer
151
views
Calculating the inverse mesh of a 2D mesh inside a bounding box
If I have a mesh (drawn in red below)
How can I calculate the inverse of the mesh (drawn in red below), given that the mesh is always constrained by the same four vertices of the encompassing ...
1
vote
0
answers
725
views
Mirror reflection in Unity 5 without using reflection probes, but can't scale to mirror object's ratio
i'm using this cs code on the mirror:
...
1
vote
0
answers
369
views
Vuforia jewellery try out without marker
I need to create a virtual jewellery try out in unity 3d + vuforia. I have done it with marker as a target but now i need to do it without marker. Is there any way we can track live objects using ...
1
vote
0
answers
370
views
Libgdx handle screen resolutions
I know there are some questions to this topic, but i didnt find a
satisfying answer for my problem yet.
I'm learning to use libgdx right now, and I'm not sure about handling different screen ...
1
vote
0
answers
65
views
Custom complex body shape with cut feature
I need to create sprites (or scene2d actors or whatever) with custom shape, preferably generated from a png image (marching squares?).
I followed some Mesh tutorials but they all hardcode the ...
1
vote
0
answers
241
views
How to draw a Sprite with Touch Points in LibGDX
I want to draw some path with user's touch. if users moves finger from one position to another position a path will be drawn exactly as user moved finger.
We can draw a line with by defining color ...
1
vote
0
answers
509
views
Automated animation retargeting
I am currently developing a video game using my own game engine I develop at the same time. While making a good progress in the past months, I am currently stuck. I assume I only miss a minor thing, ...
1
vote
0
answers
37
views
Defining collision rules in Farseer XNA
I'm trying to integrate Farseer into my XNA game.
Since I'm using an EntityComponentSystem approach, I've added the Body inside a component and added it to the players' components.
One thing I'm ...
1
vote
0
answers
130
views
How to update game handle touch input faster
I'm making a LibGDX game where the player needs to tap to jump. But in this game, the player has to tap extra fast because the player needs to jump extra fast.
The problem is, the program can't ...
1
vote
0
answers
2k
views
Should I combine multiple tiles of terrain as one mesh in Unity3D?
I have a tiled terrain, generated by multiple noise algorithms. Currently, each tile is it's own GameObject, that has a handler for an ...
1
vote
0
answers
150
views
Database design
I have a Ship class, into which components can be added which change the performance of the ship.
The question is regarding modelling this. My first approach essentially was an EAV approach (a ...
1
vote
0
answers
865
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 ...
1
vote
0
answers
50
views
How do you stop touch[].phase when using Joystick prefab?
I have a camera that rotates around the player only in x axis when you swipe on the screen. I have two buttons and a joystick prefab on the UI. I don't want the camera to move when ...
1
vote
0
answers
68
views
Scene doesn't load in editor but loads perfectly fine in final build
When my character dies the game is supposed to load a new scene. The code is perfectly fine because it does this when I make a web build for it. But in the editor I get this:
I have no idea what the ...
1
vote
0
answers
169
views
glVertexAttribPointer stride GL_INVALID_VALUE opengl 3.3
I'm experiencing issues similar to described in this question, which was never answered. Basicly when I'm calling
glVertexAttribPointer
with stride greater than ...
1
vote
2
answers
250
views
Changing the hit box position in melonjs
I'm trying to follow the platformer tutorial from the melonJS website, but using assets from kenney.nl instead of the tutorial assets. My problem is that the hit box is always centered at the center ...
1
vote
0
answers
56
views
Is it possible to simulate different vendor gamepads?
As a developer it would seem natural that I would like to support as many possible hardware compositions as I can, however as I'm not a big studio I have a limited budget, which means I have to get by ...
1
vote
0
answers
2k
views
How to create a "border" effect in Unity?
Okay let me start off by saying I have searched for several days on this topic, and it seems that either nobody posted anything about it, or it is on the internet, but too far buried under piles of ...
1
vote
0
answers
56
views
Convert box to matrix
I have a box (non-rectangular cuboid?) and would like to convert it to a matrix such that when a point inside the box is multiplied by the matrix, a vector is returned that describes the relative ...
1
vote
0
answers
628
views
Why does occlusion culling have a negative performance impact on Gear VR in Unity 5.4.03f?
I am making a GearVR game using Unity 5.4.03f and Oculus Utilities for Unity 5.
I have problem with Occlusion Culling. I've set appropriate objects as static and baked the data. The culling works ...