Unity Questions
3
Solved
I have an underwater slow effect in place whenever my character goes under water.
Here is the code for that:`using UnityEngine;
using System.Collections;
public class WaterPhysics : MonoBehaviour
{
//...
Wax asked 29/4, 2014 at 22:24
1
Ok, so I have four characters that have to work together to defeat the evil cylinders. There names are Red, Blue, Yellow, and Green. They each have an ability, but they need to work together. Red’s is...
Coinsurance asked 1/2, 2014 at 4:22
1
I’m using native 2d tool, export character’s sprite into the game moving,and edit it in animation tool, charactor will move forward in each frame.I expected this to mean that the character will move i...
Reflector asked 8/5, 2014 at 2:59
1
Hi,
I have a rectangle object, the player.
I have a collection of cloned circle shaped objects.
When the player collides with a circle the game ends, see code below.
The problem is that at certain ang...
Chip asked 8/5, 2014 at 20:33
1
Solved
Hi, all!
I’m using the 2D toolset from 4.3 to make a game where you grapple onto specific objects. I want to use a variable function to get a raycast/linecast from the player and the object to grapple...
Hamadryad asked 26/1, 2014 at 2:40
1
I’ve been working on learning unity 2d for the past few days and just started working on my first project. I have a player standing on top of the ground, but gravity is affecting the player thus pushi...
Preface asked 26/1, 2014 at 22:40
1
Solved
I’m new to Unity and I saw in a video that it said that Character Controllers don’t have physics in that they don’t “interact” with rigid bodies, however when I move the capsule around or use transfor...
Selfevident asked 25/1, 2014 at 21:43
2
Solved
Hello everyone,
I’ve been putting off posting a question here until I really have to, but this problem has got me stumped.
I want to instantiate objects at the player’s location but with a delay of a ...
Telemann asked 26/1, 2014 at 4:19
1
Solved
I have 2D game with nodes that a rigidbody has to follow. I figured I can check if the next target is to the left or to the right and the move the rigidbody accordingly. I do want to use physics, as I...
Star asked 14/1, 2014 at 11:25
3
Solved
When my enimes hit below 0 health I want them to be set inactive for a couple seconds then active again, I can not for the life of me get this to work… I need help (IN C##)
Heres the simple code I hav...
Soong asked 18/1, 2014 at 10:47
1
Solved
I have objects that follow nodes, but only need gravity when they need to fall.
What is the best option, performance wise: (mobiles)
-Gravity Scale = 0 then change it to 1 when needed
-Kinematic = tru...
Poona asked 20/1, 2014 at 8:11
1
Solved
I am currently using the Brackeys Inventory, which I have modified slightly and it works fine. However, there is an item I created called Healing Gem, which adds 1 per second to the “health” int in my...
Advantage asked 5/1, 2014 at 13:53
1
I’m working on a game with the 3D Game Kit template and in the menu, when I disable and re-enable a sub-canvas, ‘tangent’ and ‘normal’ get added to the ‘canvas’ component. This ends up making the canv...
Soften asked 30/8, 2022 at 20:57
2
I am developping an iOS application using two plugins.
These two plugins try to override the AppControllerClassName constant as soon as they get loaded, using the IMPL_APP_CONTROLLER_SUBCLASS macro de...
Vickievicksburg asked 25/5, 2018 at 14:38
1
So I want to change values of a “Lift Gamma Gain” element located in a volume profile asset.
There is a major problem though. I have been unable to find code reference for doing that and I am uncertai...
Pillion asked 28/11, 2020 at 12:56
1
Hi.
First, please forgive my English.
I made an editor with GraphView, which is in UI Builder.
I also made a copy and pasting of nodes and I tried making the copied nodes selected, but I don’t know ho...
Hearty asked 10/9, 2021 at 9:20
3
Hey I generated a depth map for an image and now I want to warp or deform a plane or mesh or flat surface to math the shape. This can be done in editor and would be preferable. I have a video clip sho...
Wadleigh asked 28/2, 2023 at 18:46
2
Solved
I have a few inspector fields in my C# code:
public Color BackgroundColor = new Color(45, 50, 125, 255);
public Color TextColor = new Color(228, 228, 228, 255);
public Color WarningColor = new Color(2...
Companionate asked 29/1, 2013 at 10:13
1
What does this error mean? I didn’t create any RenderTexture though:vv
RenderTexture.Create failed: width & height must be larger than 0 UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&) ...
Gang asked 7/8, 2022 at 13:9
1
Solved
I have a folder with sprites which I want to use as glyphs in TextMesh Pro textboxes. From time to time, new sprites are added to that folder. I want to organize a workflow in such way that every time...
Amidships asked 8/2, 2020 at 11:20
1
So I created an character and a rig in blender, I imported them then i configured them manually and when i hit the apply button this error appears:"Transform ‘Lower_Leg_L’ is not an ancestor of ‘Foot_...
Kenn asked 6/7, 2017 at 18:53
1
Hello, When I open Tools > Probuilder > Probuilder Window. I can’t manage to dock the window, it only is in float mode. Could you help me please ?
158624-capture-decran-4.jpg1920×1080 229 KB
Crider asked 5/5, 2020 at 17:58
2
204016-capture.png815×568 184 KB
So I have a script set up to go to the next scene in the index, but whenever it moves to the next scene, the shadows are completely dark to the point where you can’t...
Ryun asked 19/1, 2023 at 5:3
2
I haven’t come across this before so I’m not sure what to make of it.
I have an enemy with a MeshCollider that is enabled while the enemy is alive. Once the enemy is dead, the MeshCollider is disabled...
Ellsworthellwood asked 21/6, 2013 at 23:29
1
Hi guys,
here is my problem.
I have this Nexa Bold font (downloaded here) and I want to use it in Unity 4.0.
I have imported it as all the other fonts that I generally use… but this one doesn’t displa...
Festination asked 10/3, 2013 at 20:20
© 2022 - 2025 — McMap. All rights reserved.