What kind of magic does your tutorials have that makes them so much easier to understand?! Thank you for great videos.
@chunkybacongames
3 ай бұрын
Such kind words, thank you! 🤗
@moksent003
2 ай бұрын
You are an angel sir. I've been fighting this camera for weeks
@kaimuwu
4 ай бұрын
Great tutorial!
@chunkybacongames
4 ай бұрын
Thanks, I’m glad you liked it! 🤗
@Magzhan-fu4fd
10 ай бұрын
This video have helped a lot. Straight to the point. Thank you for this calm information convey But I hope it can be integrated with multiplayer logic. I am guessing playerinput should be in prefab list of network manager and should be spawned with network manager
@robertstan9733
Жыл бұрын
Thank you for a great vid. This way of implementing a moving isometric camera is around 1/8th the number of code lines compared to another tutorial on the same topic. Plus, it uses the new input system in a way that seems more like the way the devs intended. I have a question: i want the camera to rotate 90 degrees per press. Similar to games like XCOM 2. What changes do you think are necessary to go from your code to that?
@guimayer2064
6 күн бұрын
have you discovered? I'm looking for that too
@angelinapyankova290
Жыл бұрын
This is a wonderful tutorial and very helpful but how can we do that using a touchscreen? I added touchscreen bindings to the Look, Move and rotate actions with delta for Look and Touch contract 0 and 1 for Move and Rotate as well as Hold interactions to them but it seems that camera is both moving around AND rotating around an object. How can I solve that so those two actions wouldn't work at the same time?
@chunkybacongames
Жыл бұрын
Thanks! I haven’t thought about touch support, but I’ll gladly have a look and report back to you, if I find a solution! 🤗
@angelinapyankova290
Жыл бұрын
@@chunkybacongames That would be awesome! I am trying to find a solution myself but it is way too complex for me at the moment, to be honest. There are several tutorials about touch from Samyam but I just don't understand how should those actions(e.g.: rotate, move and zoom/pan in future) work in one project without interrupting each other
@palanolho82
11 ай бұрын
Hi, new to Unity here. How would you add a mouse scroll in order to zoom in and out (basically, increasing and decreasing the `orthographicSize` of the camera, if m not wrong)? Many thanks in advance.
@shazbah2760
Жыл бұрын
Can the end values at 9:09 be anything other then integers? Will you have problems if someone ends their rotation at 90.5 degrees? Looks like thay might snap to 315
@crossian96
Жыл бұрын
I set this up so that X axis rotation is controlled by W _ _ D. Do you have any advice for setting up _ A S _ to control the Y axis?
@ErenBR562
Жыл бұрын
Hello friend, would it be difficult for me to get to add the zoom function too? Thank you!
@pass6749
Жыл бұрын
Other than the ff, my code is the same as yours: private void Awake() { _xRotation = 30; } I changed the xrotation value since the camera would snap a lot of degrees to one direction after a certain point. Like normal rotation, then snap forward, then back to normal, repeat. How do I make it rotate around the map and not like a first person game?
@dianarg8362
Жыл бұрын
How can I add movement limits to this camera controller, i don´t want to my users lose the play zone :c I tried to added but Im is kind of hard to me :C
@PolyglotPlays
Жыл бұрын
hey so this video is amazing and actually something similar to a project i was working on, do you think it would be possible to change the code so instead of rotating with the mouse movement it rotates with a button press?
@angelinapyankova290
Жыл бұрын
I think it is possible if you display buttons on a screen which show direction of the rotation to press with a cursor or assign arrow keys(or any kind of key you want) on a keyboard
@mrbernaba6041
Жыл бұрын
how did you made the object?
@chunkybacongames
Жыл бұрын
Just a simple one in Blender. 🙂
@bastianandrade6898
Жыл бұрын
How can you access the delta without working with the Input system?
@wiedzmiz2982
Жыл бұрын
i think yes, but u must find
@hausmeme
Жыл бұрын
- Invalid expression term '>=' - Syntax error ',' expected How to solve?
@chunkybacongames
Жыл бұрын
Could you share the line where this error occurs?
@hausmeme
Жыл бұрын
@@chunkybacongames CameraManager.cs(77,10):error CS1525:Invalid Expression term '>=' endValue = currentY switch { >= 0 and 45.0f, >= 91 and 135.0f, >= 181 and 225.0f, _ => 315.0f, };
@hausmeme
Жыл бұрын
@@chunkybacongames if i update code in unity version 2021.3 is works but, in The lower version doesn't work. Does it only support version 2021 and above?
@chunkybacongames
Жыл бұрын
That might be it! I didn’t even think about trying, so thank you for pointing that out! I’ll update the code to also support older versions of Unity, thanks! 🤗
Пікірлер: 28