All Questions

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

What is the best solution that multiple devices communicate with each other in a network without server

I'm currently trying to develop an app (IOS & Android) that synchronizes a list with other devices in a network without a server. Each device can add objects to this list and all devices should ...
user avatar
0 votes
0 answers
16 views

How to to "listen" for Unity Custom Events triggers coming from multiple GameObjects?

I have 45 separate GameObjects that can each trigger a Custom Event in Unity. If a trigger is sent, then a central GameObject called SAURON will receive the trigger. SAURON will then send a trigger ...
user avatar
  • 101
0 votes
0 answers
17 views

How to hide unused quads in quadtree that are not close to the camera?

This is my Quadtree implementation in threejs. It works fine when the camera passes some threshold and the quads need to be created. The problem is how can I hide the quads that are not needed anymore ...
user avatar
0 votes
1 answer
13 views

Unity HDRP Emissions - When setting over 1 nit, blue becomes progressively more purple

I've been trying to use a HDRP Lit Shader material to create an intense lighting effect in a dark environment. I'm using a texture as an emission mask which is simply a 16x16 black png split into ...
user avatar
0 votes
0 answers
14 views

Unity ScriptableObjects String Interpolation [closed]

I am sure its possible, but I haven't figured out how. How would I go about using string interpolation for scriptableObjects? Some basic code I have for it: ...
user avatar
0 votes
0 answers
27 views

How to make a Class of Clans style tilemap projection in Unity?

I saw some posts about the projection used by Clash of Clans, but it doens't make sense for me. I am trying make a game like Clash of Clans (in Unity with an isometric tilemap). I tried use both ...
user avatar
0 votes
0 answers
14 views

Understanding matrix transformations for skeletal animation

I am working with Collada and GLTF. Say I have a humanoid with 3 bones with the following hierarchy: B0(root) → B1 → B2. Terminology: bind pose is the same thing ...
user avatar
  • 101
0 votes
0 answers
21 views

Why do my image sprites only change after closing the run, instead of when I start the game?

Why do my image sprites only change after closing the run, instead of when I start the game? What I mean by this is that, upon starting the run, it does nothing. But once I hit the play button to end ...
user avatar
  • 1
0 votes
1 answer
48 views

Metaverse Game - Scam?

I hope you can help me. I have invested in a metaverse game project which claims that 5 people are working full time on the project for 2 years already. Unfortunately in the last couple of days one ...
user avatar
  • 1
0 votes
0 answers
24 views

Reading from RWTexture2D in compute shader Unity

I'm learning compute shader with Unity, but I've encountered a bug when transferring RenderTexture to the compute shader. Basically, there're 2 texture being transferred, ...
user avatar
  • 117
0 votes
1 answer
33 views

How do i make my game object goes to that specific direction after it bounces off a collision and not behave erratically?

...
user avatar
0 votes
0 answers
24 views

Remove tool from player

I have just started learning Roblox scripting and I've added a part which will add a rocket launcher to the player's backpack when they run over it. The player should then be able to fire a single ...
user avatar
  • 153
0 votes
3 answers
37 views

"There is no Camera attached to the Game Object" error

I moved my Visual Scripting from an embedded graph into a State Machine graph as a file. Suddenly started getting this error... MissingComponentException: there is no Camera attached to the gameobject ...
user avatar
  • 101
0 votes
0 answers
19 views

Normals not correct on creation? [closed]

When creating a subdivided cube to create bones for a dragon, the normals seem to be not facing the correct way, which flipping and recalcuating the normals does not do. Do I need all the lines to be ...
user avatar
0 votes
0 answers
23 views

If I have 2 separate scene teleporters in a scene (can exit and enter anytime), how do I specify a location a separate location when exiting them?

I have the main scene "camp", in camp I have two scene teleporters, "cave" and "tent", each teleport into a different scene. The issue I am having is that when I exit ...
user avatar
0 votes
0 answers
17 views

Virtual Camera with Collision

I am using a VirtualCamera2 Actor for recording sequences using iOS devices + Xbox Controller as input devices. Everything works well except for collision. I tried to add it in many ways but it doesn'...
user avatar
0 votes
1 answer
30 views

how to have player stay on a rotating platform?

Im making a top down game in unity. in my game there is a platform where the player can stand on. while this platform is moving the player moves with it. here is an example: This almost works like i ...
user avatar
1 vote
1 answer
39 views

Why do physic engines apply force fully linear, despite adding torque

I checked how the applyForce function on rigid bodies in 3 different physic engines work (cannon.js, matter.js, PhysicsJS) and it seems that this is the common way ...
user avatar
0 votes
1 answer
33 views

How do I detect if a player is touching the empty screen in Unity?

I'm making a simple puzzle game. I can very easily detect if a player touches my GameObjects, by turning on colliders and using OnMouseDown. In my game, when a player touches a GameObject... that ...
user avatar
  • 101
0 votes
0 answers
18 views

Stop OnDrag callback when user's finger is stationary?

There's an section of the documentation that refers to something that may be the answer, but unfortunately, if I keep holding with my finger the draggable object, even when I'm not moving my finger, ...
user avatar
11 votes
2 answers
2k views

Moving player inside of moving spaceship?

INTRO: I am trying to achieve a spaceship that flies through space and the pilot can get out of their seat and walk around the ship and place physics objects in it while the ship is moving, rotating, ...
user avatar
  • 145
0 votes
0 answers
16 views

When I run the game, the gameobject is not disabled? [Unity] [closed]

I have an empty gameobject with animation on the scene. I deactivate this object and it automatically activates when I run the game. I want the object to be active only when certain conditions are met....
user avatar
  • 13
0 votes
0 answers
26 views

Unity VR underwater experience [closed]

I am looking for your advice. My team and I (3 people) were assigned to create an underwater diving experience using Unity. I have zero experience in Unity but I do have experience with C#. The same ...
user avatar
  • 101
0 votes
0 answers
15 views

How can I pragmatically move a navmesh rigid body when changing scenes?

I have an object with both rigid body and NavMeshAgent attached Which I want to set to a new location on scene change, but there is something weird going on with it. If I just try to set the position ...
user avatar
  • 101
0 votes
0 answers
24 views

Network racing game position interpolation jitters a lot

I'm making multiplayer racing game and I have problem with interpolating position.. Here's the sequence. Server simulate the world and send vehicle transform packet through UDP socket every 33ms to ...
user avatar
  • 3
0 votes
2 answers
12 views

Is it possible to move Overlay Canvas away from (0,0,0) in the Scene View?

In our workflow we use a Screen Space - Overlay canvas for UI. The only problem with it is that you can't change it's position (...
user avatar
  • 2,502
0 votes
0 answers
28 views

Develop a program that 3D Models houses [closed]

Basically my program will consist of: Uploading/downloading a file of said 3D house that the user created within my program A coordinate system where said houses will be built with a camera that ...
user avatar
  • 1
1 vote
2 answers
20 views

Libgdx World point to screen point

It seems like converting a screen point to a world point is easy in libgdx but going from the world point to a screen point is quite tricky. So How do I convert a world point into a screen point?
user avatar
0 votes
1 answer
25 views

bind mixamo bone to unity

I download the mixamo character bone and rig it in the blender. and then use it in unity. but it seen no match in unity? I change the mesh in skinmeshrenderer and the mesh disapear? is there a way to ...
user avatar
0 votes
0 answers
26 views

Online Leaderboards: Is this the right approach against cheaters, hackers?

My plan is to make a small game with online leaderboards. Having everything calculated on the server side is an unaffordable task, so I need some other way. My guess is that the best approach is to ...
user avatar
  • 626
0 votes
1 answer
39 views

Predicting Inclines and Declines for projectiles

For background, I am working on a top-down fighting game. I'm trying to create an archer class, in which the arrow sort of predicts the inclines/declines (moving it about the Y-axis [or up/down]). A ...
user avatar
  • 11
0 votes
1 answer
16 views

How should I share the states amongst all the executions of a Behaviour Tree triggered from all ticks?

I'm still learning about Behaviour Trees and my understanding of the "blackboard" is essentially a state object. When passing the state object through the ticks to the function calls (which ...
user avatar
  • 405
0 votes
0 answers
16 views

How to cut a texture created with DirectX9?

I created two textures in DirectX9 with CreateTexture method (one little HQ and one big LQ), and for some reason my shadow textures are blending. Is there any way to stop that blending ? I want my ...
user avatar
0 votes
0 answers
20 views

It's been a week I started learning few things about html CSS and JavaScript and I want to develop a small game within 100 level is it possible? [closed]

I want to build a small game with 25 levels included. I am new to CSS, Html and Javascript I would like to know how you all will be able to help. first, I would like to try developing a small game; ...
user avatar
0 votes
0 answers
14 views

How to see if an entity is on screen for rendering in android?

I am trying to make my app render only entities that are on screen/in view at the given moment. How can I identify objects that are in view? App is in java.
user avatar
1 vote
1 answer
25 views

How to inherit from a custom node of a gdnative plugin, in gdnative?

Context I am developing a game in gdnative and I would like to design it in several "modules", where there would be: a main module for the core gameplay, a second module that I defined as a ...
user avatar
0 votes
1 answer
23 views

Understanding User Input Behind the Scenes?

I am a bit confused on how user input is actually received and processed behind the scenes in a game engine. Let's say I have a simplistic game loop as follows... ...
user avatar
  • 101
0 votes
0 answers
9 views

Unity Webgl general Loader js

I am trying to write a general loader.js using this official guideline in unity webgl. I have followed these steps: Create a custom WebGL template by copying the contents of the /PlaybackEngines/...
user avatar
0 votes
1 answer
27 views

Calculate the coordinates of an offset in 3D space knowing the initial rotation and final rotation of the object

Working on a game mod in FiveM in which I am representing bullet impacts with drawn lines in the game world along their flight path. I am getting a normalized vector and then calculating the offset ...
user avatar
0 votes
2 answers
46 views

Finding the position of a point based on a relative point inside a quad

I'm trying to get the relative point position on a quad using a [0,1] Vector2, like in the picture below: The red dots are relative positions. What I'm trying to make is a function that takes the A,B,...
user avatar
0 votes
0 answers
20 views

retargeting: Am I on the right track?

I try to retarget the position of a bone in the rest position to adapt it to a different model. The goal is to have my animation properly working for two models from one animation. It is the child ...
user avatar
  • 101
0 votes
0 answers
33 views

Handling big maps server side

How do games handle arrays/objects of billions of lines to load every gameobject/players positions of big maps for example (server side, for authoritative servers)? I understand it could be split ...
user avatar
  • 101
0 votes
0 answers
25 views

How to get Windows identifiers in Unity?

I'm trying to get an unique computer (Windows) id in Unity. I can get it in .net Framework using this code, that I found somewhere: ...
user avatar
-1 votes
1 answer
45 views

Draw more sprite but they disappear

I have a array of sprite in a class "Enemy", I want to draw enemies in some positions, but when I draw one, the previous one disappears. ...
user avatar
0 votes
1 answer
34 views

Random value is chosen 2-3 times, then after that it's always 1

...
user avatar
0 votes
0 answers
10 views

Unity - One client can control all player objects in a multiplayer game (Netcode and Input System)

TL;DR Clients can control only their player objects with keyboard, but all players with gamepad (using Netcode for Game Objects, Unity Input System and a PS4 Controller) I am working on a multiplayer ...
user avatar
0 votes
2 answers
73 views

How to find the mathematical relationship between 2 variables?

I am trying to find an equation that semi-accurately describes the 1 psi blast range of a nuclear explosion given the yield. I am using Nukemap on nuclearsecrecy.com to find 1 psi blast range at ...
user avatar
0 votes
0 answers
14 views

RayCastHit2D returning value only once, then stops

I am trying to do a check to make sure the player is not on a wall, so that he doesn't not continue jumping upwards when hitting it, as it returns him as being grounded. I am using a RayCast2D coming ...
user avatar
  • 25
1 vote
1 answer
66 views

Cloud based fog of war

I'm working on a Unity 3D game that requires fog of war. It is seen from above. I was looking for help and found this: (I dont know what game it is though) This would perfectly fit my needs but I don'...
user avatar
0 votes
0 answers
22 views

How do I make the ball produce a score after passing through the hoop? [closed]

...
user avatar
  • 1

15 30 50 per page
1
2 3 4 5
1077