All Questions

Filter by
Sorted by
Tagged with
0
votes
0answers
6 views

Calculate angle of rotation around a local y axis to face projected point

I need to write code (in HLSL) which will take an arbitrary point A in space, a plane normal, and a point P on that plane, and produce an angle representing the rotation (from the plane's x axis, ...
0
votes
0answers
5 views

Use ramp and steps meshes as actual ramp in unreal engine 4.26

Is it possible to use a ramp mesh as an actual ramp in UE4? It seems that the system create a rectangle box around the ramp o the character does not climb the ramp, it is over it like on a box. I know ...
0
votes
1answer
16 views

Best Practices for Texturing Large Objects

Kind of a 3D graphics newbie here. This is the biggest prop I've ever tried to texture, and I'm kind of stumped. How do you get a decent resolution on large meshes like this without exporting ...
0
votes
1answer
9 views

Mesh contents get flipped

I am using below shader with my mesh object that is showing a webpage. It is showing fine but the problem is the web page has flipped: ...
0
votes
1answer
20 views
1
vote
1answer
19 views

Unity Tilemaps Best practices

I'm pretty new to Unity and I just finished some courses and tutorial found in the official documentation. I'm now in the process to apply what I learned so far using different assets from the ones ...
0
votes
1answer
26 views

Creating Sphere Triangles from Vertices

I came across a way to create the vertices of a sphere, located here: https://gamedev.stackexchange.com/a/150293/62793 I converted this to the following C# example: ...
0
votes
1answer
18 views

How I add gap between Instantiated objects?

...
0
votes
1answer
20 views

Swept AABB: finding collision normal in 3D?

I was following this tutorial which explains how to detect and resolve a 2d swept aabb collisions. I got the detection part working on 3d, but know I need a way to properly make a response, like ...
0
votes
0answers
25 views

Attempting to build a crash-game, what should I learn? [closed]

I'm attempting to build the front-end of a crash game (similar to bustabit). I want the very basic front end of the game, i.e. an ability to wager and run a graph of the multiplier in realtime. No ...
0
votes
0answers
14 views

Trying to create a '2D 8 Ball Pool' game - Trajectory Prediction

I am trying to create a game similar to (Pocket Run Pool) https://www.youtube.com/watch?v=ewlAE6NQnsI&t=215s a 2D pool game that is much simpler than a 3D one I need help with creating code for ...
0
votes
1answer
37 views

Networking to make a single player RPG into multiplayer

I’ve written a few games in Xcode before and would like to turn one into the simplest possible 2D top-down RPG multiplayer game. Essentially just needing movements around a big tiled map (I love ...
0
votes
0answers
13 views

Unity Text Mesh Pro can not get referenced in VSCode

I am using Text Mesh Pro in my Unity 2019.3.4f. The TMP works fine in unity, but in the code editor, Visual Studio Code, the TMP related things are marked with red wave underline, which means the ...
0
votes
2answers
20 views

Best practice where to store Projectile Damage amounts?

I have a projectile and an enemy, both with colliders. On the projectile script, I'm destroying the projectile OnTriggerEnter: ...
0
votes
0answers
15 views

Sprite walk animation blurring when sprite image moves too quickly

I didn't see any other questions like this that had an answer so I thought I'd ask in hopes this helps someone else too. I have a game I'm in the beginning stages of working on, and I've gotten to the ...
0
votes
0answers
13 views

Error CS1513, can't figure out what is going on [closed]

I'm making a script that sets KeyCard1 to true when I collide with it. KeyCard1 is a value ...
0
votes
1answer
25 views

Cylindrical billboarding around an arbitrary axis in geometry shader

I found an answer on this site relating to this question already, but it doesn't seem applicable in the context of my project. Basically I'd like to create a method which fits this signature: ...
1
vote
0answers
23 views

Saving player Position and Rotation in Unity

I'm making a game using Unity, and I'd really appreciate knowing how to save and then load my player's position and rotation. I'm not very experienced at c#, so I ...
0
votes
1answer
34 views

Export “Lite” and “Full” versions with different package names for Google Play Console

On the Google Play Console, you can't have two games with the same package name. Is there a way to have two of the same game with different package names, exported from the same Unity project? For ...
0
votes
0answers
12 views

how to avoid collision between first and third layer when second is between them? 2D [closed]

I have 3 layers: car, track and outOfTrack layer. Under car is track and under track is outOfTrack layer. When a car is on track the collision between car and outOfTrack is detected, so i want to ...
0
votes
0answers
20 views

Does the quality of a video card connected to a monitor used in play mode with Unreal Engine matter?

I have 3 video cards: inferior onboard vga (not connected to a monitor) inferior discreate vga (connected to a secondary monitor) superior discreate vga (connected to a primary monitor) When using ...
0
votes
1answer
18 views

How to keep player on the road in unity?

I'm trying to create a Endless runner game. In the game road has three lanes. Game character run forward and user can move the character left lane, right lane and jump. The road has bends in those ...
0
votes
0answers
12 views

Screen boundaries seem randomly placed

I have a strange issue in which the characters boundaries work fine, however are placed at four seemingly random edges outside of the game view as a result of (I'm assuming) my player boundaries ...
0
votes
1answer
24 views

Peter Panning Depth Bias Problem

No matter how I experiment with RasterizerState Depth Values, I always get a detached shadow which is called peter panning. Ive even adjusted the near plane for the light camera. It always seems to ...
0
votes
0answers
23 views

Create Mesh between gaps of the tiles in unity3d

I am loading two kinds of tiles (Meshes in tiles format) in unity both are placed in the environment correctly but there is a gap between these two tiles. Like the picture below I want to fill this ...
1
vote
0answers
18 views

Scaling physics engines beyond single computational server

Currently working on a small home project of developing our own game. The game basics are just a straightforward space game, currently without any collision detection/resolution, just movement with ...
0
votes
2answers
25 views

Rotate camera around offset to player position (third person shooter view)

I'm trying to rotate my camera 'next to' the player object so that the player is not in the way of the screen-centered reticle. What I am trying to achieve is something like the targetting system of ...
0
votes
0answers
24 views

Blocks / tiles aren't responding to clicks

I've recently finished a tutorial, UE4 Slide Puzzle by Nicholas Thompson. Halfway through the second tutorial, I found out that the blocks / tiles wouldn't respond to my clicks. For example, when I ...
0
votes
0answers
5 views

using glew glviewport cannot get the correct proportion of a window

the generated window resolution is (1334, 750) when i call glViewport(0, 0, 1334, 750); the whole window is filled, but when i ...
-2
votes
0answers
46 views

What technologies to learn for game development? [closed]

I learned C++ and Sockets in C++, Unreal Engine, iClone7, Daz3D, Cinema4D, Adobe Photoshop. Now I want to create a basic FPS Multiplayer Game only on LAN base with Unreal Engine and will use Cinema4D, ...
0
votes
1answer
22 views

Make Minecraft Main Menu Camera movement

I intend to make exactly like this. I highly suggest you watch just 5 seconds of the video because it already explains what I intend to do. I've been trying cosine and sine on vector3s but I can't ...
0
votes
1answer
32 views

Unity3D - Dealing with Angles (-360,360)

I'm currently working with Oculus integration trying to export headset (and eventually controller) position and rotation data to a CSV for later use in Blender. My issue comes from the way Unity (or ...
0
votes
0answers
16 views

Letting the player create a combination of any 4 items that the game will then give the player on a set timer

Okay, so I've researched scriptable objects and I've realized that it's something that might be very useful for the kind of game I'm making. I've managed to create my own scriptable object for weapons ...
0
votes
0answers
5 views

- 2 Parts: Object/Material displays at 90degrees + Material Mask will not rotate with object?

Hi I have a 2 part issue. Part 1: I have a planet in Unreal, in the object editor it is aligned properly and the material displays correctly but in the game even with the rotation set to 0 it displays ...
0
votes
0answers
14 views

Fog white outlines

I am having weird artifacts when using fog. Some meshes get white outline around it. It happens mostly to objects close to the terrain. Does anyone know what causes this? You might need to open the ...
0
votes
1answer
28 views

How can I highlight ui image?

This is a screenshot showing two small images on the panel and I want that when the mouse cursor is over the image/s to highlight the current image the mouse is over. On the right the canvas settings ...
0
votes
0answers
13 views

How to make a point light cast shadows in realtime?

I have a solar system... The central star has a point light attached to it. However, objects don't cast shadows on each other... Planets are < 20 units from the star, so it's not a light falloff ...
0
votes
0answers
13 views

Unity 2D softbody with custom spring

I'm trying to make custom 2D softbody physics that can interact with other Unity colliders. My starting point was to implement a custom spring joint capable of connecting two entities ("particle&...
-2
votes
1answer
44 views

Where can I find free source codes for trading game? [closed]

all guys I am very new on trading game and I want to create sample trading game project using Node.js and React.js. Where can I get free source code for this? I you see any js file, it is okay. Thank ...
0
votes
1answer
37 views

Procedurally Generating Locked Doors

An upcoming goal of mine is to write a procedural generation algorithm for daggerfall-esque dungeons. However, I plan on including doors locked with specific keys and I would rather they be able to ...
0
votes
1answer
9 views

Window handle is invalid

I'm trying to implement an input listener for FNA (modern version of XNA). Since FNA does not supply any sort of way to listen to native input this has to be done through the windows API and native ...
0
votes
1answer
13 views

Player not moving camera to the other side of the screen when hitting the screen edge

I'm working on a game where I want the player to appear on the other side of the screen when they get to the edge of the screen, essentially mimicking the background moving. When the player gets to ...
0
votes
1answer
34 views

How do I let the player create a list, and make the game cycle through that list?

I'm creating a game where the player can put 4 objects in any combination, even 4 of itself. What would be the best method of going about this, and letting the game cycle through the list the player ...
0
votes
0answers
12 views

How to put the output of one game into another?

I want to add the screen of vrchat into a unity game environment so that I could play vrchat from a screen inside the unity environment. Is that possible? If not, why not?
0
votes
1answer
16 views

how to ADD a NEW entity/item/effect to Minecraft Java

In Minecraft Java, I am creating many resource packs by myself (no studio or external resource) so, I want to ADD a new file/entity/element/items/etc. to the game to not replace an old item because ...
1
vote
1answer
37 views

Rendering differences between ps_1_3 and ps_2_a

I am trying to update a shader from ps_1_3 inline assembly to ps_2_a HLSL. However the HLSL shader causes things to render ...
0
votes
2answers
49 views

How can users verify a game distributed peer-to-peer has not been modified maliciously?

I'm interested in p2p software distribution, and I'm also directly including a modding interface into my game, which is built on my own custom engine. I was working with a folder inside of the Roaming ...
0
votes
1answer
51 views

How to construct a propeller clock in Unity?

I am considering the possibility of using Unity to construct a propeller clock https://www.youtube.com/watch?v=-6JnAxTXApw . It's an array of LEDs on a PCB board connected to motor that spins at a ...
0
votes
0answers
10 views

Difference in light between Unity 5.5.2f1 and Unity 2019

The lighting is different between Unity 5.5.2f1 and Unity 2019. Please see the attached image. I dislike the way the lighting is done in the 2019 version. Both verions are installed out of the box, ...
0
votes
0answers
19 views

Why the for loop only work if more than one cube place on conveyor belt? [closed]

I followed the tutorial in this video https://www.youtube.com/watch?v=rQyUACEyAVw&t=70s , checked the code and the setting but couldn't identify where the problem, why the cube isn't moving. Debug....

15 30 50 per page
1
2 3 4 5
1016