Newest Questions
57,678 questions
0
votes
1
answer
27
views
Best way to sync PhysicalObj to player headset position?
I’m in the process of designing a threejs-based webxr engine for simple VR games. Right now, I’m working on implementing physics with cannon-es, but I’m struggling to figure out how to sync the player’...
0
votes
0
answers
86
views
Why does this code behave strangely with different camera angles?
Relevant to this issue are two MonoBehaviour scripts: Actor and Player. ...
1
vote
1
answer
236
views
How does real Perlin noise work?
I find lots of articles but they cut parts out to simplify the process. I am trying to write a function to generate real 3D Perlin noise without skipping steps like averaging the 4 corners ray somehow....
0
votes
0
answers
123
views
Why does a sprite with a larger texture render faster?
While drawing a map for a game in Pygame, I encountered a strange problem. Loading my grass sprite, which is a little over a kilobyte, and placing it, the FPS dropped by half. However, replacing the ...
0
votes
0
answers
44
views
using Unity URP/lit shader with skinning and DOTS
I'm using:
Unity: 6000.0.51f1
Entities: 1.3.14
Entities Graphics: 1.3.2
URP: 17.0.4
Shader Graph: 17.0.4
I'm fairly new to both DOTS and Shaders, but when trying to use DOTS with URP combined with ...
1
vote
0
answers
85
views
Necessity of node-graph-based rendering in simple game engine
I'm working on a C++ game engine for my own projects. It's divided into two parts: one which handles basic functionality like logging, cross-platform abstractions, filesystem utilities, etc., and ...
0
votes
1
answer
136
views
Open model file format that supports skeletal animation
I'm looking for a file format to store and load 3D models with skeletal animation data, which is free to use and distribute without licence restrictions.
I've evaluated formats like glTF and Collada (....
7
votes
1
answer
1k
views
Why are collision manifold points created inside objects instead of on their surfaces?
Suppose you have two overlapping spheres \$A\$ and \$B\$, with centers \$c_{A}\$ and \$c_{B}\$ and radii \$r_{A}\$ and \$r_{B}\$. Let
\$n = \operatorname{normalize}(c_{B} - c_{A})\$ be the collision ...
0
votes
0
answers
50
views
Instantiated child scene does not rotate with the parent as pivot
Version 4.4
I am starting to learn Godot by creating a game in which my ‘Player’ scene is instantiating and adding a ‘Ball’ scene as its child on starting the game. I position the Ball at a distance ...
0
votes
1
answer
72
views
OnTriggerEnter called without a Rigidbody
I use Unity and the player controller in the game is acting strangely. It has a Character Controller but no Rigidbody. I use CharacterController.Move to make him ...
0
votes
0
answers
45
views
What am I missing to get my animation working
I use Godot 4.4 and gdscript. I have a 2D isometric character with hundreds of sprite sheets for different angles and weapon status. Its not feasible to do this in ...
0
votes
0
answers
53
views
How to edit maps from campaign to make them work in the Assault Coop mod in Far Cry 1?
How can I edit maps from campaign to make them work in the Assault Coop mod in Far Cry 1?
There are some campaign maps in the Assault Coop mod, but not all the maps.
For the moment, I opened the maps ...
0
votes
0
answers
57
views
Is there a string-pulling algorithm that works directly with (3D) portals without checking LOS?
I'm working on a project where audio propagates through a series of rooms and portals. This is modeled by finding all paths from a source to listener and then merging their contributions into a final ...
0
votes
1
answer
129
views
How to correctly set up peering bits for terrain sets/autotiling?
I'm trying to set up autotiling for this tileset in Godot:
I set the peering bits like this:
However, when I try to place the terrain tiles, all I get is this mess:
What am I doing wrong?
1
vote
0
answers
46
views
How can I dynamically make a distance field shape of the lit part of the moon to use it as a halo in a custom skybox shader?
I created a custom skybox shader featuring a black sky with only the moon and its halo. The moon responds realistically to the scene’s directional light (sunlight), which creates a convincing effect. ...