Scripted tank track bones behave strange
Rigged and scripted Tank track mesh and bones behave strange when tank rotating. Actually bones are problem.I'm using existing script i found on internet and slightly edited it. I'm 3D designer but i'm...
View ArticleParenting the RigidbodyFPSController to a rigidbody go crazy
Hi! As the title say when I try to attach the Rigidbody FPS Controller (with IsKinematic set to true) to an object with the rigidbody component, the player and the object start to glitch and fly...
View ArticleRigidbody nested within (as a child) a non rigidbody game object?
Can a rigidbody object (B - as a child) be nested within a non-rigidbody game object (A -as a parent)? The reason I ask this is b/c I want to hingejoint the rigidbody child (B) to another rigidbody (C)...
View ArticleWhen I set an object to be the child of another object, the child object does...
Basically, I have it set up so when the player collides with a certain object, the object becomes the player object's child and the object is supposed to follow the player around due to the child...
View ArticleHow to attach an object to another object so that moving one moves the other
I have found a myriad of questions and answers RELATED to this topic, but none of them have worked for me, so I am quite sure that I am misunderstanding something and/or expecting too much, or clicking...
View ArticleGame-view and run time editor are displaying animation but the projectile is...
Hi all, I've been trying to make an AI archer for my game and it's been going well except for one annoying problem. Basically, while both the game-view and runtime editor views are showing the AI...
View ArticleFull Rotation 3rd Person Camera
I have a 'Spaceship' with full movement and rotation in a 3D world. Camera is attached to a 'CameraPiv' so i can get a 3rd Person Camera. This 'CameraPivot' can rotate arround 'Spaceship' and if i...
View Articledrag and drop then attach child to parent
what I want to do is drag and drop a cube to a parent cube in a 3d scene and then be able to add another one to the parent or to that child I just attached, it needs to be able to attach to any of the...
View ArticleHow to set instantiated game object as child on collision in C#
Hi, I'm new to Unity and to programming languages, so I assume this has a simple answer I haven't figured out. I'm making a 2D game where you stack objects on a racket, and if the colliders' relative...
View ArticleWhy is my Raycast parenting resetting after build?
Hi, I've been troubleshooting an issue for some time now, but I can't manage to figure it out. I'm attempting to build a "Google VR" (Cardboard) FPS game. I'm using the default Unity "FPS Controller"....
View ArticleHow can I rotate a Parent GameObject so a Child points towards the cursor?
The question says it all really, how can I rotate a parent GameObject so that a child of it points towards the cursor? I know I can find the cursor's location with public Camera theCamera; Vector3...
View ArticleKinematic Movement/Collisions?
Currently, I'm early into an attempt to create a first-person game along a similar play style as "Guns of Icarus", where players take the role of crew members aboard various spacecraft, in a large...
View ArticleHow to instantiate a GameObject in a scene and keep world transform?
There is next in API: public static Object Instantiate(Object original, Transform parent, bool instantiateInWorldSpace); But I need next: public static Object Instantiate(Object original, bool...
View ArticleHow to get the new scale of world canvas resized by an emptyobject parent ?
Hello, I'm encountering some issues with my app. I'm actually building a map with point of interests over it for a 2D application. I'm aiming to keep the POI on the same spot and at the same size...
View ArticleHow to attach game objects without impacting rotation
I have created an object with a series of cubes. When mothering cubes into an empty Gameobject the cubes with rotations that I have entered change to a random rotation. This then shows a green outline...
View ArticleProblem with rotations for moving between one rotating object to the other [C#]
Hello, I’ve been struggling with a problem recently. I’m making a game that is mainly about jumping from one rotating circular object to the other. The problem is the rotation. I want the player to fly...
View ArticleHow to get parent with component on collision?
I have a game object (A) with several child objects (Ab, Ad), which is also child of another game object (B). Any of those can get collision (A, Ab, Ad), but I need only to get parent's (game object A)...
View ArticleObject changes position/rotation, when moved (in/out of parent) in the...
Hey, when I move my object up a level in my heirarchy, it's position changes. when I move it back into it's previous parent, the position resets to the correct state. This is happening wether I'm in...
View ArticleA moving player on a moving ship...how to move the player around without...
I want to be able to move a player around on the deck of a ship using the WASD keys. At the same time, I want to be able to move the ship using the arrow keys. The problem is that when I move the ship,...
View ArticlePrefab Particle gets destroyed because its parent gets destroyed, how do I...
Well, I have a problem. I have written a script that shoots spheres in the direction that I'm looking and at least that works lmao And this sphere gets deleted after 5 seconds to avoid lagging, but I...
View Article