Relative Content

Tag Archive for unity-game-engine

Place objects with given scale and coordinates

I have a problem when im trying to set scale and coordinates of my objects in code. In my game i need to place objects in random way and they need to stay block by block and without space between (like on reference image). But when i do my code, they stay on large distance and with strange scale. I would be very grateful if you could help me with this thing. And i place oobjects in worldspace, not in ui.

Place objects with given scale and coordinates

I have a problem when im trying to set scale and coordinates of my objects in code. In my game i need to place objects in random way and they need to stay block by block and without space between (like on reference image). But when i do my code, they stay on large distance and with strange scale. I would be very grateful if you could help me with this thing. And i place oobjects in worldspace, not in ui.

Cant resize object by the coordinates

I have some problem with my game. I need to place squares in screen area like a grid, thats why i get the screen width, for example, then i convet it to coordinates (left side x equals -2.34 and right 2.34) then divide it (2.342) into some parts (for example 2.342/5 – five squares in line) and then i try to change the scale of squares in code, but here i have a problem, because, as i understand, coordinate units doesnt equals scale units and objects become larger or smaller than i want , and i cant scale objects as i want.

Cant resize object by the coordinates

I have some problem with my game. I need to place squares in screen area like a grid, thats why i get the screen width, for example, then i convet it to coordinates (left side x equals -2.34 and right 2.34) then divide it (2.342) into some parts (for example 2.342/5 – five squares in line) and then i try to change the scale of squares in code, but here i have a problem, because, as i understand, coordinate units doesnt equals scale units and objects become larger or smaller than i want , and i cant scale objects as i want.

Cant resize object by the coordinates

I have some problem with my game. I need to place squares in screen area like a grid, thats why i get the screen width, for example, then i convet it to coordinates (left side x equals -2.34 and right 2.34) then divide it (2.342) into some parts (for example 2.342/5 – five squares in line) and then i try to change the scale of squares in code, but here i have a problem, because, as i understand, coordinate units doesnt equals scale units and objects become larger or smaller than i want , and i cant scale objects as i want.

Cant resize object by the coordinates

I have some problem with my game. I need to place squares in screen area like a grid, thats why i get the screen width, for example, then i convet it to coordinates (left side x equals -2.34 and right 2.34) then divide it (2.342) into some parts (for example 2.342/5 – five squares in line) and then i try to change the scale of squares in code, but here i have a problem, because, as i understand, coordinate units doesnt equals scale units and objects become larger or smaller than i want , and i cant scale objects as i want.

Unity + Meta Quest 3 + Passthrough in Play Mode

I’m using latest Unity (6), Meta Quest Developer Hub, Meta Link (as of xmas eve 2024). I’m using a meta quest 3. meta link connected via a usb 3.0 cable. tested it, no issues. I have set up a space, defined my boundaries, the whole 9. all of that works. I’m trying to iterate in Unity in a program that uses Passthrough. I can build just fine to a binary and deploy that to the quest 3 and passthrough works. TOO SLOW. I want to press the play button in Unity and get something that is representative of how the passthrough will look, even if the latency is worse.