Quantcast
Channel: Latest Questions by esitoinatteso
Browsing all 92 articles
Browse latest View live

How To Use Slerp

Hi there! In the past days I've tried to keep my private doubts to myself but now I just have to ask you: WHAT is Slerp and HOW does it works? I've read through many of the questions about it here on...

View Article



Yield until animation is over?

Hi there! I'm editing this question for the very last time, to better depict you with my problem, what I'd wanted to do and how I managed to solve it. The problem I had was very specific: **I wanted to...

View Article

Choose color/palette swap?

**Hi pals!** I've been wandering throughout a lot of links and webpages all talking almost about what I'd like to do, but I couldn't understand none of them. As usual, not only I admit my knowledge of...

View Article

Drunkard Walk Algorithm C# Question

Hi dear Unity's community! I've been away for a lot, but I spent that time trying and studying by myself the mysterious world of coding, lurking here and there, reading your kind answers to questions...

View Article

Reference an Instance of an Object?C#

Hi there! I've got a question about a specific problem related to a topic which seems to be hard to understand. That topic is .GetComponent(); The question may sound silly but before I got overwhelmed...

View Article


Mistake in Function with Collision and AddForce

Hi people! I'm trying to make this function work and I've spotted an error I can't seem to understand. What this is supposed to do is to make the head of a rope ( which the player can instantiate) act...

View Article

Reference Specific Sprites from Atlas

Hi guys! I know it's already been asked but, instead of helping me, the replies given to this kind of questions have confused me even more! So, I've got an Atlas sliced and inside it I've got some...

View Article

RaycastHit.distance Values

Hi there! I've got a question that *seems* to be uncovered. The docs are straightforward in defining what is a RaycastHit.distance, but they don't mention a thing about the values that distance can...

View Article


Physics.CheckBox() Alternatives

Hi there! I know it's been asked in the forums at least twice, [here][1] and [here][2], but I'm feeling that this *issue* hasn't really been solved in a plain way... care to help? :) The thing that's...

View Article


Rect with Z instead of Y or similar alternatives

*Hi there! I'm editing this question...* I came to understand that the Rect class has a very valuable Function called Contains, which I'd like to use. My problem is that the matrix I use to build those...

View Article

transform.Translate but Transform has Rotation!=0

Hi there! I was testing enemies movements in my wannabe game, and I've noticed a behaviour that I really don't like. Basically, I got a simple translation function that should move the enemies to a...

View Article

Check if Exists and if so, Add it to Other List

Hi there! I've just experienced an odd issue and I'd like to be enlightened on this topic. I'm posting a piece of code in which I'm inside a switch, but that's not so important; what matters is that **...

View Article

Unity UI image + mask has jaggies

Hi there! The new layout for GUI in Unity is amazing **BUT**, as I was playing around with it, I've found out that one of my canvas' images is rendered with jaggies and I know it shouldn't have them....

View Article


UI RectTransform Position && Screen Resolution

Hi there! I've noticed that the cloned UI images that I instantiate at runtime are misplaced. ***Here's what I have*** I've got Prefabs that are instantiated via script at runtime at a specific...

View Article

StateMachineBehaviour + StartCoroutine()

Hi there! I'd like to know, if it's possible, how to StartCoroutine() inside a StateMachineBehaviour script. I've tried the following: IEnumerator WaitSomeThenResetStuff (Animator anim){ yield return...

View Article


" Binary Save" Stuff - Workaround for Vector3 Serialization

Hi there! I'm editing my original question because I was just looking at the tip of the iceberg and thus formulated a too much open/broad/generic question two days ago. I'm using procedural generation...

View Article

Cursor " Hide" is not Immediate, what's wrong?

Hi pals! I was browsing Scripting APIs to find the method to hide the mouse cursor/pointer, and found the deprecated one with Screen. A note pointed me to the updated method, which is Cursor.visible =...

View Article


Using Animator, How To Play an Animation Backwards

Hi there! My question is simple: - I've tried setting the Animator's speed to -1 and failed; - I've tried setting Animation's speed to -1 and found out Animation has no speed parameter; - I've tried to...

View Article

Unity Build nullReference, but editor sees through it!

Hi there, sorry to bother but this kind of errors are new to me because I've been coding mainly inside the editor! It seems that 1 line in my Awake() returns != null when in editor, and == null once...

View Article

Standalone build fails Application.LoadLevel() and Freezes

Hi there again! I've tracked down another bug of a line that worked fine in editor and, for some reason, it does it wrong in the build. Here's the chunk of code from the scene named...

View Article
Browsing all 92 articles
Browse latest View live


Latest Images