Importing multiple armatures from blender breaks parenting chain
Exporting multiple armatures with their respective weight painted meshes as an fbx breaks their parenting once imported in Unity. It works correctly if done one by one. I’ve checked everything i could...
View ArticleWhen I scale parent, it scales child, how to stop?
I scale my parent, it scales the child too. I want the transform to follow but not the scale, any suggestions? (when i crouch player reduced in half)
View ArticleWhen and why to put object as child of another?
I am an amateur game developer, lets get that said first and foremost. As I have been working on my game for a few months now, I am starting to face to some design decisions in regards to how I should...
View ArticleHow to parent gameobject at point of collision?
I want to parent a gameobject to another at the point of collision/contact, and I don't know how to. For example of what I want to achieve, it is similar to the Pikmin games, where a gameobject...
View ArticleTransferring a gameobject onto another gameobject
Hi! I'm kinda new to Unity and C# in general and need some help if I may... Please see the picture down below. (This is a little hard to explain I think). ---------- In the picture below, there are 5...
View ArticleMesh gets squashed after parenting to camera.
So I'm trying to make an FPS and it was going well until I came across this problem (in the title). It basically squashes down flat when I parent it to stuff. the gun is a prefab with meshes parented...
View ArticleHow to use Physics.IgnoreCollision for multiple objects / toggling collisions...
Hi, I'm working on a game, where the player picks up trash from Trash Cans, and dumps it into Trash Trucks. There is an animation that plays, once the player brings a Trash Can up to a Trash Truck,...
View ArticleSetParent() on object from Physics.OverlapSphere sets wrong position
When I use SetParent on a transform that I get from Physics.OverlapSphere, the position is not set correctly. The new child gets offset by the same numerical offset as the Parent world position it...
View ArticleSpawn Object in vr player hand as grabbed. Release button to let go of the...
I am trying to make it so when the player presses the b/y button on the VR controller a ball spawns in their hand and then they have the ability to throw the ball by releasing the button. But as of now...
View ArticleSteam VR, spawn object in hand as grabbed? (Solved!)
Trying to make it so when the player presses either B or Y on the controller a ball will spawn in their respective hand. And when the player releases the ball it will be thrown/ detach. Right now the...
View ArticleDragging multiple blocks to a grid.
Hey guys, I'm making a block puzzle game where a randomly generated set of coloured blocks needs to be dragged into a grid (think Columns). I need to drag all three items together so I was planning to...
View ArticleHow to unparent a Transform by UnityEvent?
I want to clear the parent of the referenced transform in the UnityEvent, but assigning * Transform -> SetParent() * or * Transform -> parent * as function to call and leaving the parameter to...
View ArticleProblems setting parent of instantiated objects
Can anybody tell me where i have gone wrong, I am trying to instantiate prefabs to a grid layout group component and for any given variable of slots i try to create i get a extra 50% of that given...
View ArticleSome Box Collider 2Ds seem to shift on some instances of a prefab
I've been banging my head against the desk for hours. I hope someone can help me with this. The issue is: Some Box Collider 2Ds aren't clickable, even though those Box Colliders are objects on...
View ArticleTying to parent objects in game with Photon.PUN OnPhotonSerializeView
Hi, I'm very new to photon and have been trying to use it to implement a multiplayer version of my game. However, I'm not sure what the best approach is to resolve my bug issue. Basically, in a scene,...
View ArticleInsantiate object to parent without changing scale?
I'm using the following line in my script to instantiate an object from an array at the position of the spawner. I want to set the spawned object's parent to the spawner. The line below works but the...
View ArticleSetting the parent of a transform which resides in a Prefab Asset is disabled...
Hi guys, I am facing this problem again and again. I cannot find solution. I think my code is right, but where is the problem? GameObject visual = Instantiate(placementObject[num], hit.point +...
View ArticleIs it possible to set a prefab as child of another in the Unity Editor
Hello, I have a 3D unity project that has a player prefab and two skin prefabs in the editor. I was wondering if it was possible to set a skin prefab as child of the player prefab throughout the editor...
View ArticleCan I add a parent to all the children in an animation tree structure ?
I made the animation for my arms which refers to the bones directly but now, I would like to make my arms child of my camera named "FPCamera" but the animation would be edited. My question is can I...
View ArticlePlayer exits don't destroy on load because of moving platform
Hi ! I am working on my first game as an intern, and I need a quick fix because my game has to be done by tonight... So I have a don't destroy on load script that works fine unless my player touches a...
View Article