All Questions
418 questions
1
vote
0
answers
40
views
How to add dirt/ground variance to the bottom of my mountain/platform in Unity?
I have a cliff in my game. Currently it sits on flat grass, but I want to add more depth to the visuals. I've added ambient occlusion to the pipeline and it has helped a lot. However, what I really ...
3
votes
0
answers
97
views
How to achieve a procedural/modular dirt path like those in The Last Campfire?
I’ve played The Last Campfire recently and got really inspired by it, so I’m trying to recreate some scenes from the game just to improve my 3D art skills.
But there’s one thing that I’m a bit lost.
...
0
votes
1
answer
95
views
Resizing a Sprite in 3D space to match its native pixel size at a target screen resolution?
I am placing a 3D game object with a SpriteRenderer + Billboard attached to it in my scene.
However, since it's a distance away from a perspective camera, the sprite gets scaled, losing a lot of the ...
0
votes
0
answers
47
views
Making a slingshot inspired launch mechanism to hit arbitrary point on edge not just fling straight through center of mass
In a 3D world, I have a hockey puck-like body.
I have made a mechanic where I can launch the puck with a slingshot mechanism.
But the point of contact is determined with a raycast and the "sling ...
0
votes
0
answers
37
views
Moving an object up to the edge of the screen in 3d space
I'm trying to put an object at the edge of the screen. I can get the edge and center of the camera converted to 3D space easily enough, however, I'm having difficulty with the dimensions of the object....
1
vote
0
answers
98
views
Using 2D diagonal wall tiles in a 3D world with an orthographic camera
I'm working on a 2D game in Unity where the world is 3D and I have an orthographic camera pointed 45 degs to make it look 2D. I'm using the method here to fix the distortion that occurs.
My question ...
0
votes
1
answer
119
views
Making 3D maps with 2d tiles for a top down game in Unity
I'm working on a 3d game in unity that looks 2d from having an orthographic camera and 2d sprites, similar to Enter the Gungeon (https://twitter.com/dodgerollgames/status/593625936131653632?lang=en).
...
0
votes
1
answer
174
views
3D Dark Souls lock-on code: Player moves around target in a spiral, not perfect circle
I'm working on a 3D game in Unity that requires lock-on, or Z, targeting found in games like Dark Souls and Legend of Zelda: Ocarina of Time.
The code that I have achieves my intended goals fairly ...
1
vote
0
answers
42
views
How to smoothly blend a 3D rotation which is exactly 180° in Unity?
I have a player capsule which I want to face the same cardinal direction as the key pressed. For example, pressing W will make the player face the camera's current ...
1
vote
1
answer
305
views
Why don't more top-down 3D games use an oblique projection, instead of tilting their models and sprites?
I'm making a 2D game in Unity that is set-up in 3D similarly to Enter the Gungeon, where I have an orthographic camera rotated 45 degrees. This makes sprites look wrong and I've seen two main ways to ...
0
votes
1
answer
64
views
Character Controller isGrounded reports false when descending slopes
I encountered a problem in Unity related to the Character Controller, namely with checking whether the player is on the ground or not (isGrounded).
A player walking down a slope with a minimum angle ...
0
votes
0
answers
78
views
Trigger animation not playing due to transition or something in Unity
I’ve set up an animation trigger (Any State -> Fire) to interrupt all other animations, and it works as expected most of the time. However, I’ve run into an ...
1
vote
2
answers
182
views
How to make ball rotation in billiard look more natural?
I'm working on a billiard game in Unity (2D), where I used 3D sphere visually and I'm trying to make the ball's rotation look natural as it moves across the table or hit another. I've got the ball ...
0
votes
1
answer
89
views
How to Improve AI Decision-Making Between Chasing, Hiding, and Movement Speed
I'm working on an AI system in Unity where the enemy alternates between patrolling, chasing the player, and hiding behind objects. I’m trying to implement a system where the AI not only decides ...
0
votes
1
answer
70
views
Changing The Axis That Vector3.Slerp's Arc Happens On
I am using Vector3.Slerp to move a boomerang from the player to a target in an arc, and then back to the player.
It's currently working, but not the way that I want it to.
My issue is that I would ...