All Questions

Filter by
Sorted by
Tagged with
1 vote
1 answer
25 views

How do I check if a GameObject is touching another GameObject in Unity?

I am trying to check if a GameObject is clicking another GameObject. I am trying to make a 2D shooter like Duck Hunt so this is important. I have tried ...
0 votes
1 answer
2k views

Unity Ambient Occlusion not working with Orthographic camera

It seems like the Ambient Occlusion setting from the Unity Post Processing stack (obtained from the asset store) only works with a Perspective camera, yet I haven't ...
2 votes
1 answer
2k views

How to arrange child objects in a grid

i have a gameobject that have a group of plane meshes that created randomly as child every one of this planes have a "2f" offset in x axis between every plane what i wanna do is i wanna make ...
0 votes
2 answers
1k views

How to mouse click an object in scene view to select it from editor

I have several game objects with colliders in my game. I have enabled Always Show Colliders to keep all of them visible in my scene view. Because the objects are a ...
1 vote
1 answer
23 views

How to use Subviewports to render a texture for Sprite3D?

Godot 4.2 Background: In my game prototype, I have a following player entity: Paperdoll2D has a script that dynamically adds the weapon/armor/etc Sprite2D nodes to the main sprite to "dress-up&...
0 votes
1 answer
21 views

Image over everything Unity

I want to create a UI for a VR game to use it as a loading screen, the scene has a camera an image, a text mesh and a loading icon, the image is the background and the text and loading icon should be ...
3 votes
1 answer
5k views

Deproject Screen To World Coordinates (Unreal Engine 4.15)

I am working on a small game in Unreal Engine 4.15 using blueprints only and encountered a behaviour I don't understand. The game is based on the Top Down Example. As I'd like to teleport an actor ...
0 votes
0 answers
21 views

Lighting of clouds billboards

I created billboards of clouds that always face the camera in OpenGL. Now I want to add some lighting effects and maybe simulate a scattering light effect. I experimented with phong shading but my ...
2 votes
2 answers
527 views

Drag and Drop Godot 4: Disappears when dropped outside allowed area

I'm trying to make a simple drag and drop function, and it works when dragging from one area to another, but if I accidentally drop the sprite outside the allowed areas, it just disappears. I've been ...
0 votes
2 answers
45 views

Who decides what the aspect ratio should be for a 180 VR video?

If I'm looking to create a 180 animation that is meant to be viewed in VR, how do I know what aspect ratio to make the animation? And who decides it? Could it be 1:1, 2:1, or something else? For ...
4 votes
1 answer
5k views

Global fog does not work with deferred rendering in Unity

When I set deferred rendering the global fog from the Unity Standard Assets does not work, there is no fog at all. With forward rendering the global fog works. How do I add fog with deferred rendering?...
1 vote
1 answer
81 views

Techniques for VR controller input smoothing

I work on a zero gravity space VR game where player can hold to an object and rotate around it using their hand. Imagine spacewalk on ISS, grabbing a handle with your extended hand and trying to move ...
0 votes
1 answer
62 views

How to change layer depth according to player location?

I would like to change the layer depth of objects, so that the player can go behind them. Right now it looks like this when the player is behind the object: The problem is that the layer depth doesn'...
0 votes
0 answers
10 views

Texture space Raytracing of cylinder primitive in godot shader for Helix interception

I have been trying to do raytracing of an helix in a spatial shader in godot 4.2, but apparently I missed something because the result is bloby and melty at the cylinder level. The basics is that I ...
1 vote
0 answers
7 views

Exposing Unreal DataAsset in plugin config

I would like to expose some DataAsset in the configuration of my plugin. If I wanted some integer, this would work well: ...
0 votes
0 answers
20 views

Precalculate Rigidbody movement in Unity

Is there a way to precalculate movement from a Rigidbody in Unity and show this with a line renderer for example? I want to make a physics based marble game and show the path the marble is going to ...
0 votes
2 answers
642 views

Change sprite angle on sloping ground

I have a problem here with GameMaker built-in physics environment.My player is designed to be on a skateboard. I want my player to rotate its sprite, according to the kind of fixture(up or down slopes)...
0 votes
0 answers
19 views

`textSubImage2D` inconsistent performance

I have a problem when creating a texture with WebGL. The thing that I do not understand is that the first call with texSubImage2D with a canvas leads to the ...
-3 votes
0 answers
56 views

Im about send this to crazygames [duplicate]

https://drive.google.com/drive/folders/1iBmKxY_ilTX4ZXgBv3rWwsK9GcQCjDil?usp=drive_link execute this in crazygames qa tool: https://developer.crazygames.com/qatool and it is unity 2023. I submitted ...
1 vote
0 answers
40 views

OBS Won't Record Game at 1080p, Shrinks Screen When Resolution Increased [closed]

OBS won't record my game at 1080p, only at 720p. Increasing the resolution in OBS settings shrinks the screen. I've adjusted the game resolution too, but it's not working. Any solutions??
0 votes
0 answers
39 views

About Json format and Player Prefs [duplicate]

I'm making an Offline RPG game in Unity. I want to save some things in my game. I have heard of two recording systems for this, one is PlayerPrefs and the other is to save in json format. PlayerPrefs ...
0 votes
0 answers
27 views

Expectations in 3D character and creature rigging and skinning in large studios [closed]

This is more of a qualitative question instead of a technical one but does have technical aspects to it. All of these are fairly qualitative and open-ended and I wanted to get some insight on what an ...
16 votes
2 answers
2k views

Unwanted darkening at polygon edges when using normal maps with SSAO

I'm using a SSAO alghorithm called "SAO", seen here: Scalable Ambient Obscurance. I'm currently having issues with "smooth" normals, for example when using normal/height maps. To ...
4 votes
6 answers
20k views

Why are all materials pink in my Unity URP project?

Version: Unity 2020.2.0f1 I started my project with Universal Render Pipeline template but I don't know why all materials are pink. I even tried to upgrading but nothing happened. This error was ...
0 votes
0 answers
22 views

Is learning rotations and transformations in a 3D space enough to create any feature in a game that's similar to a CAD app? [closed]

Is learning rotations and transformations in a 3D space enough to create any feature in a game that's similar to a CAD app? I want to make a game where you need to recreate certain shapes with a CAD ...
0 votes
0 answers
23 views

Help with LudoGame code [closed]

...
7 votes
2 answers
1k views

Aligning pathfinding to the center of tiles?

I'm looking to achieve tile by tile movement in a project I'm working on. I employed the use of the asset Simply A* Path-finding to allow a unit to navigate the terrain. Since the tiles are simply ...
0 votes
0 answers
55 views

bad position of contact points :why?

...
0 votes
0 answers
35 views

What do you do with SDL2 events?

I have the typical/basic event loop for SDL2 and I'm a little confused on what to do with them or how to handle them or I guess more specifically how should I get the data from these events (e.g ...
0 votes
0 answers
27 views

Compensate bullets direction towards direction player is moving in

My new prototype is a top down shooting game, the player aims with the mouse and fires projectiles towards the mouse position, this works fine, when the player is standing still. When the player moves,...
17 votes
4 answers
11k views

Pleasing isometric hexagons

What angles and long-side/short-side ratios give the most aesthetically pleasing and graphically regular isometric (squashed and flat side up) hexes, that additionally resolve to whole pixel sizes for ...
1 vote
1 answer
2k views

Cocos2dx+Chipmunk: Fully elastic collision between moving bodies

I'm using Cocos2dx and the built in Chipmunk physics engine, and currently I've got my PhysicsBodys' materials set up with: Density=0 Restitution=1 Friction=0 in ...
0 votes
2 answers
49 views

Add round edges to heptagon shaped image with fill in Unity

I am not sure if this is possible I have this image: This is how it looks when I do radial fill: My question is if there is a way to make edges rounded while filling the image. Rough sketch of what ...
1 vote
1 answer
54 views

Godot 4.2.1: Calling get_data() on Image from NoiseTexture2D Returns Null

I am trying to retrieve image data from a NoiseTexture2D. I seem to be able to get an image resource, but as soon as I try to get the associated data via ...
0 votes
1 answer
36 views

I need multiple custom game objects to stick to a parent object

A bit of a newb to Unity & game development. I have built a very basic lunar lander ship and made some RCS thrusters out of cubes and cylinders to attach to the fuselage of the ship. However, ...
0 votes
1 answer
2k views

How to get the actor to follow the mouse while clicking and holding?

I am trying to do the top down project from scratch. I can already get the actor to move toward the mouse click: Only I need to keep clicking several times to change its path and keep walking ...
1 vote
0 answers
19 views

How do I get a Unity Job to update external data?

I'm relatively new to Unity, and I wanted to use the Job system for a complex pathfinding algorithm, since it will likely be used alongside multiple instances of NPCs attempting to find a valid route. ...
2 votes
2 answers
883 views

Limit rotation angle

I am currently trying to rotate the weapons of a spaceship towards the mouse position, but in order to avoid the collision of projectiles with the ship I want to limit the angle the weapon can turn. ...
1 vote
0 answers
75 views

Particle Effect, which works in the editor, does not work on Android

Hello everyone and good work. In my game, my character has a sword and a shield, and as I increase their level, they emit colorful steam. I add the particle effect of this vapor with code, and after ...
0 votes
0 answers
28 views

How could I make the player rotate towards the cursor in pygame?

...
0 votes
1 answer
48 views

Textures still show as opaque even when alpha is multiplied by zero

I'm having a some problems with blending in OpenGLES2.0 I'm drawing a texture above a framebuffer (with ARGB channels). When I draw a transparent texture over a solid color, the alpha channel is ...
0 votes
0 answers
44 views

Multithreading Chunkbuilding - Thread.Start() acts as it is on the main thread

I'm building a game from scratch using OpenTK, in C#. It is in its base form a mesh-based voxel engine. I have a decent startup on the chunk building algorithm, multiple blocks, block data, etc, but ...
0 votes
2 answers
4k views

Limit Color Pallete Using Shader

Basically, what I want to do is take a primary input image texture (which is a render texture in-game) and a secondary pallete texture (contains X number of colors, and is X by 1 pixels in size). What ...
0 votes
2 answers
59 views

Splatoon like gun in Unity

I want to create a 3D Top Down Battle Royale game in Unity and wanted to add a mechanic to color the floor, walls and ceiling, just like in Nintendo game Splatoon. I know that you can color a 3D shape ...
0 votes
0 answers
20 views

How to visualize the shadowmap as the renderTarget of the main camera in Unity?

I have a Unity project with the builtin pipeline. I would like to save the shadowmap of the directional light source and visualize on screen as the primary renderTarget of the main camera. ...
0 votes
0 answers
19 views

Collision manifold between shapes

I am implementing the narrow phase collision detection of a 2d physics engine. The narrow phase takes a list of shape pairs: [(s1, s2), (s2, s5), ...] And for each ...
0 votes
1 answer
46 views

AABB Collision Resolution Per Face

I have this function that detect the collision of two AABBs: ...
0 votes
1 answer
852 views

text rendering artifact when rendering in 3D opengl GLfW

Main.cpp ...
1 vote
1 answer
32 views

Design principles for good UX for 360° animations in VR?

I'm looking to create 360 animations as a VR experience. I don't have experience with Blender, development on VR, or animation creation. The main challenge is going to be creating animations that look ...
0 votes
1 answer
37 views

Object collision and vector reflection for complex polygons?

I am currently creating an environment to train aim-bot AI's for my game. It is a 2d world made of complex polygons, and the goal is to have the AI's shoot ricocheting bullets. Using a ray-casting ...

15 30 50 per page
1
2 3 4 5
1136