Como posso mover GameObjects de mesmo script de forma independente?
Criei um script o qual faz um GameObject se mover de forma senoidal. O movimento ocorre perfeitamente, mas quando mais de um GameObject contendo este script está em cena todos se movem como um espelho...
View Articlehow to make enemy clone work independently?
so I am making a shooting game where the game spawns 5 enemies from a prefab. the problem is that when the enemy clone gets instantiated it works properly, but when the enemy clone detects the player,...
View ArticleHow do I make and object's position and rotation independent again?
Just as the title says. How can I make the position of an object independent again after making it dependent earlier. This is what I have right now: if(ItemPickedUp == true){ // If you press the E key....
View ArticleTouch Joystick behavior changes with resolution
I tried my game on mobile (tablet res: 1600*2560) and the joystick behaves different there. In free aspect and other default resolutions, it behaves normally. How can I make the behavior independent...
View ArticleMaking an object resolution-independent
I'm working on a GUI that doesn't use Untiy's GUI system. Instead, it's composed of objects rendered by a second camera. How do I make these objects resolution independent? I gave it a shot and came up...
View ArticleHow Resolution Independence is Working
I know that Unity3D uses DirectX and OpenGL at backhand for rendering. I am curious about one thing that is Resolution Independence for 2D and 3D is provided by graphical API automatically ? Or Unity3D...
View Articleany good read about independent gui for android devices
where it is taken into account different screen densities? i am trying to make a gui that will be independent from resolutions and screen density. thanks!
View ArticleMoving a single instance
I draw a line on which I want to add "handles", these "handles" can be moved and leave a line from their respective anchorpoint, to the new position of their respective "handle". So I made a prefab...
View ArticleFramerate independent character movement
Hey guys and gals! For a networking project I need a framerate independent movement script (for obvious reasons). I saw this one on UnityCookie but it only moves on the global axis not the local axis....
View ArticleFixedUpdate and Time.deltaTime slowe
I am moving rigidbodies around with velocity. Is simply using function FixedUpdate(){ thisRigidbody.velocity.x = movement.x; } enough to make the movement framerate INDEPENDENT. versus function...
View ArticleKeep SphereCollider radius the same, even though scale is changed
For a nice effect on a object I constantly change the scale of the transform, but this obviously changes the radius of the SphereCollider too. I need to find a way to keep the SphereCollider's radius...
View ArticleDisable 3d engine OR Run at command line
I need to use the unity library, like Network.InitializeServer and networkView.RPC and was wondering if there was a way to do it without the bulk of the 3d engine. I realize that networkView would have...
View ArticleFramerate Independent Firing Rate (delta time?)
I am attempting to make a consistent firing rate. I have done a lot of research on figuring out consistent rates that are independent of framerate and most of the articles about it use deltaTime....
View ArticleFramerate independent physics (FixedTimestep, FixedDeltaTime)
How do I achieve 'correct' framerate-independent physics in Unity? As I understand it; physics logic should always be performed in the FixedUpdate() function (Application of forces, etc), but does this...
View ArticleSpinning a mesh independent of its forward movement?
This question is really about how do I create a prefab that allows for this. What I want is a billboard that will always face the camera while it is moving in space. I believe I do this with a...
View ArticleMovement FPS Independent, how to?
Hello people, I've already asked this here a few times, but no one awsered, so let's try again. I've made a Character controller myself, and I tought i did things right when it comes to FPS...
View ArticleList Problem :(
> using UnityEngine; > using System.Collections;> [System.Serializable] > public class pl> { public string name; public int> hp,maxhp; public int attack; }>>...
View ArticleJump not affected by changing velosity.y
Hello :) I've just done double jump in my game and in a some way it's affected by changing velosity.y by game object. It means the power of second jump depends on a time(?) and changing velosity.y(?)...
View ArticleGet real world's time which independent with device
I'm creating a game on Iphone/Android. In my game, user plants a tree then have to wait for that tree grow up. Each time user opens game, I check the time when user planted the tree and the current...
View ArticleAndroid Resolutions Independent
Hi! I started with unity some weeks ago. Im trying to make a simple side-shooter 2d game, i had set the camera with a script to 1280x720 so i can test it with my phone on landscape orientation. There...
View Article