Skip to main content

Questions tagged [hierarchy]

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

I'm not sure if there's a setting or wildcard I'm missing, but when I search in the hierarchy panel the results are presented in alphanumerical order with no reference to the hierarchy of the ...
FrontEnd's user avatar
  • 1,789
1 vote
0 answers
78 views

I'm following in the footsteps of this blog in implementing a transform hierarchy to my game engine scenes. I have a fairly similar implementation for a 3D transform: ...
Boyfinn's user avatar
  • 111
2 votes
2 answers
3k views

tl;dr = When/Where/Why use 'Node2d' as the parent vs going straight to 'Other Node'? I have just started diving into using Godot for the first time. I completed the Your First Game official tutorial (...
J Bloom's user avatar
  • 23
0 votes
1 answer
803 views

I'm using Godot for my current project, and it's been going great; but there's a bug I don't understand. I have a certain very simple script on my title screen: ...
Michael Macha's user avatar
0 votes
0 answers
3k views

I'm trying to figure out how to integrate entity component systems with scene graphs in a web game / application. The problem is of course that ECS and scene graphs are very different in nature. They ...
Candleout's user avatar
  • 101
1 vote
0 answers
202 views

This is for the development of a roguelike/management game. I'm trying to implement HPA (hierarchical pathfinding with A*), and I've found a few good resources (suggestions appreciated) in the forms ...
genfy's user avatar
  • 43
2 votes
1 answer
78 views

In my GPS based game, there are certain structures the players can build that store units. For example, airbase structures store aircraft objects. Currently, the way I have this organized is the ...
user204468's user avatar
1 vote
1 answer
248 views

After lot of efforts I have an almost nice shader doing SSR with HiZ. The shader is provided below. Some parameters are tunable and you can speed up things but the difficulty in my scene (picture) are ...
philB's user avatar
  • 333
1 vote
3 answers
5k views

When structuring the script to control a game object with several generations of children underneath, I gather from one of Jason Weimann's videos that it's a bad idea to use the string based methods ...
arcadeperfect's user avatar
-1 votes
2 answers
431 views

My parent object components: Rigidbody2D and the script I shared below. Children(Head, Body, Arm, Backpack...): There is only collider. There is no rigidbody2D. (I want the parent object to use the ...
gunza's user avatar
  • 13
0 votes
0 answers
158 views

I'm wondering how I can organize instantiated GameObjects that are spawned in sort of a nested structure. I'm spawning these GameObjects via Containers, a set of ...
Ginger and Lavender's user avatar
0 votes
1 answer
261 views

First of all, I have a character with 2 armatures (Upper/Lower Body), where the Upper Body is the child of the Lower Body's root bone (Hip). This is intended, and I really don't want to touch the ...
505Legion's user avatar
  • 103
0 votes
0 answers
51 views

I took an asset from the asset store with some animation. The animation expect the Animator to be put directly on the object that contains all the bones. => fbx (with animator) => bones I would ...
Crocsx's user avatar
  • 125
0 votes
1 answer
2k views

I'm working on a game, where the player dumps trash from Trash cans into a Trash Truck. These Trash cans have a random chance of having a Racoon on top of them. I have a script set up to detect when ...
Fox GAMING_NTF's user avatar
1 vote
1 answer
2k views

Within my Unity Project in my code, (see below), I have a button called Check which executes when CheckPress() function is called. I read two approaches by which this can be done. Appraoch 1: Using <...
Tanmayee Pathre's user avatar
0 votes
1 answer
121 views

I have a GameObject for which I know its world position and rotation. From another app, I receive a new rotation and position, which should represent the local position and rotation of my GameObject. ...
NoName123's user avatar
0 votes
1 answer
1k views

Let's say we have some game objects and they are nested to form a tree: - A - B - C - D If each of those have a matrix for the scale, rotation and ...
clankill3r's user avatar
3 votes
1 answer
839 views

Following a Godot tutorial I encountered the transform property, but I'm not sure what it means nor how to use it. I read the official Godot documentation, but it ...
EmmanCanVaz_95's user avatar
0 votes
1 answer
138 views

I'm trying to apply UV mapping in parent space - ie. taking into account the object's own transformation matrix but no matrices further up the transformation hierarchy. For example, I'd want to be ...
Danny Yaroslavski's user avatar
0 votes
2 answers
188 views

I have a game object whose prefab is structured a very specific way. It is a conveyor belt. I intend to arrange them end-to-end and animate them all at once using a script. Right now I am trying to ...
hatinacat2000's user avatar
0 votes
2 answers
17k views

I have a gameobject with a bunch of empty gameobjects as children that I want to use as spawn positions. I want to loop through each of these positions and have a certain amount of probability that ...
JoffLobster's user avatar
3 votes
0 answers
415 views

I'm, trying to wrap my head around assimp to import some files, including fbx/obj etc. Normally my experience tells me that I start at root node and then recursively load child nodes until I load the ...
Dariusz's user avatar
  • 133
1 vote
1 answer
1k views

I created 3 boxes, then align the three to form some sort of a gate, I set the parent to an empty object so that I can easily move it. And I add box collider inside the gate. When I try to rotate it ...
otong's user avatar
  • 125
1 vote
1 answer
674 views

I am writing a small 2d html5 game engine in javascript that relies on the concept of a hierarchy. The scene is the root node or entity, and its children make up the game objects. These children can ...
clabe45's user avatar
  • 408
0 votes
1 answer
409 views

My application: Place furnitures or construction objects (doors/windows) in scene. Everything is fine until I touch the construction objects. Since the application is mobile, it will be hard for a ...
Mara Black's user avatar
0 votes
2 answers
1k views

Does a C# script added to a parent object work more efficiently and effectively (in terms of both memory and performance) on all objects, in my case lighting, or adding script components to each ...
Mark Henderson's user avatar
1 vote
1 answer
468 views

How can I add a picture in the Hierarchy view in Unity? For example, Dragon bones does it automatically. Here it is : As you can see there is a picture on the right of the gameObject name.
cutMeDown's user avatar
  • 107
1 vote
1 answer
622 views

I've looked in forums, the doc, and the code, and I'm thinking this isn't currently possible, but maybe I'm missing something, so just to be sure: is there a way to set a group as child of and actor? ...
ontheway's user avatar
0 votes
1 answer
1k views

I have a list of GameObject , and I need to know which one is the last in the hierarchy ( This is for a UI system, So is kind of 'which one is showing up') I have a cursor managed by GamePad , and I ...
D4rWiNS's user avatar
  • 303
0 votes
1 answer
382 views

I have worked with hierarchical blended animation systems for a number of years, but I have never been quite sure how to handle scale correctly. The introduction of non-uniform scale is additionally ...
Steven's user avatar
  • 3,082
4 votes
1 answer
10k views

How do I make it so an object doesn't scale with another object that I parented it with by script? If anyone knows how to get around this I would really appreciate it. This is the part of the script ...
Signekatt's user avatar