MAnd
• Member for 6 years, 2 months
• Last seen more than 1 year ago
• USA

23k views

For example, for detecting clicks, I'm using onClick event trigger, but I can't find anything related to something like a onHover event Due to that piece of your question, I assume that what you want ...

19k views

As you will easily find out, the most straight-forward solution is to run multiple times an algorithm that checks whether there is an intersection between the segment formed by Point1 and Point2 (let'...

101 views

If the (X,Y) is at the top-left corner of the rectangle as you have drawn in the picture in your question, then the center is simply: (X + W*0.5 , Y - H*0.5 ) Note that it is always a good practice ...

5k views

As you yourself have stated, you still didn't have resorted yet to optimizations. So yes, there are many ways to speed that up. But since you were talking in general terms, I will stick with what I ...

4k views

First thing: as @ZEKE has suggested in the comments to your question, you should check: How do I determine my games minimum hardware/software requirements? Also, in the end of the day, only ...

152 views

You said that the value you describe falls off in a gradient from the center of the sphere. So I suppose it achieves its minimum (e.g. zero) when reaches the sphere boundaries. In that case, there is ...

505 views

I construct a polygon with n sides. I have a point P(x,y) that is inside the polygon. I want to draw normal from Point P to edge/edges of polygon For each edge: 1) finding a normal for a line-...

2k views

As you shall see, the spirit of this answer is that, in game programming, there is rarely a dead-on answer like A is always better than B. But let's dive a bit more into the details. So my main ...

101 views

The problem is that x, y and z are components of "transform.position", and you are not allowed to make changes to single components of properties. In other words, you can not directly assign a value ...

326 views

Your question makes it clear what you don't want, i.e. a combination of a color like (0.1,0.1,0.1) with itself to result in pure addition, giving (0.2,0.2,0.2), when you would expect it to result to ...

131 views

How can i make the object spawn til i say stop and spawn at difrent times You have two different questions there. One is how you can make the object spawn until you say it to stop. The other is how ...

3k views

Usual disclaimer: I am not a lawyer and in this site questions about these issues have to be always taken as ideas, thoughts or experiences, never as technical advice. That said, first of all, ...

1k views

I suppose that when you create the UI Text objects, you are adding to them a RectTransform component, just like I answered you here: How to dynamically create an UI text Object in Unity 5?. Knowing ...

247 views

I don't known if you've solved the issue since the question was posted, but how do you expect to know which is the carrier that is closer to the building at a given time, if you don't know their ...

26k views

I think what you are looking for is something like following: GameObject CreateText(Transform canvas_transform, float x, float y, string text_to_print, int font_size, Color text_color) { ...

2k views

UE4 does not have exactly an inherent limit to what you can simulate at the engine. Nothing like a map size limit or something. However, besides the obvious memory and CPU hardware-limitations that a ...

387 views

If what you mean is that you need a nav-volume with fewer nodes because the oct-tree ends up leaving you with too many nodes, the main issue behind you problem is, of course, symmetry. Or better said,...

3k views

EDIT: this answer was addressing the problem as originally formulated by the OP, i.e. "how to make sure the camera doesn't spin around its axis when looking downwards or upwards". For that, the answer ...

4k views

You did not specify whether you will have many circles or just a few. However, by the measures you mentioned I assumed it's just a few (by the way, if the measures you are thinking of are correct, ...

3k views

If I understand correctly what you want to achieve, you are looking for the concept of "imposters". These are precisely 2D representations of 3D objects, used to decrease the geometric complexity of ...

196 views

If I understand the problem correctly, you were close to properly solving it. Your approach with the normals is what you want, but instead of only saving the normal of the last collision, save a list ...

11k views

Usual disclaimer: I am not a lawyer and in this site questions about these issues have to be always taken as ideas, thoughts or experiences, never as technical advice. That said, in the US you hardly ...

13k views

Flowcharts and diagrams are very often used to represent game mechanics or game-play. I would dare to say that most visual assessment of game mechanics are indeed based on some given type of flowchart ...

551 views

I don't know which technique was specifically used in Cossacks, but I guess you are also interested in the problem at hand in general terms. In fact, nowadays, there are ways trough which such result ...

2k views

Usual disclaimer: I am not a lawyer and in this site questions about these issues have to be always taken as ideas, thoughts or experiences, never as technical advice. That said, yes, if you or ...

8k views

Usual disclaimer: I am not a lawyer and in this site questions about these issues have to be always taken as ideas, thoughts or experiences, never as technical advice. That said, it's good that in ...

516 views

First of all, I am not a lawyer and in this site questions about these issues have to be always taken as ideas, thoughts or experiences, never as technical advice. Second, I see you are not from US ...

121 views

I think your question is not very clear and actually brings many mini-questions in one (what you should avoid doing in this website). That said, I will address very briefly some points: is it even ...

314 views