Похожие чаты

Is there a name for the mechanic where you can

click on a place or an entity and the player character is moving there while having the cam focused on himself ? (like in the diablo games, just with a free ... lets say rotating camera still fixed on the player character ?)

12 ответов

31 просмотр

There's no official name but people often call that a player following camera. It's a fairly well known thing, for instance in Unreal Engine there is a component called spring arm component which let's you do that.

Why do you ask? Your's feels like an xy problem. See xyproblem.info

Sunbro- Автор вопроса
Manav | avoid unnecessary messaging me
Why do you ask? Your's feels like an xy problem. S...

im asking because i have a very old game in my head which i would like to rewrite and it has this kind of controls, and since i dont know how this kind of controls is called its hard to choose which engine to pick since i cannot determine whether said engine supports this kind of controls 🙈 (as you can see im not a game dev^^)

Sunbro
im asking because i have a very old game in my hea...

You can do that in any engine, that's a simple part. The hard part will be to fine-tune it for your cases and levels, but game engines won't do that for you

Sunbro- Автор вопроса
Pavel
You can do that in any engine, that's a simple par...

> but game engines won't do that for you doesnt matter the important part for me would be knowing whether there is a specific name for which i have to look out for, but if any modern engine can support it, then that does not matter and makes it easier for me to pick one. thanks for that info

Sunbro
im asking because i have a very old game in my hea...

It is kind of easy. For a fixed camera that's glued to the player at a specific angle. Something like: camera.pos = offset + player.pos Assuming pos and offset are 3d vectors.

Sunbro
> but game engines won't do that for you doesnt ma...

Just google "<insert your game engine> player following camera" and you'll find plenty of resources. Any modern game engine you chose should have vector calculus and matrix operation capabilities.

Sunbro- Автор вопроса
Manav | avoid unnecessary messaging me
Just google "<insert your game engine> player foll...

i think there is some kind of misunderstanding, i know about player following cameras, but the part which had bothered me are those kind of click and follow controls like in an rts or diablo for that matter

Sunbro
i think there is some kind of misunderstanding, i ...

Target based camera system? You will probably have to write down your own. To understand how such a system would work, you will need to know the difference between screen space coordinates and world space coordinates.

Sunbro
i think there is some kind of misunderstanding, i ...

I would suggest you pick one game engine first then worry about the nitty gritty of such systems later. Any game engine you choose should give you the freedom to do anything you want.

Sunbro
i think there is some kind of misunderstanding, i ...

Uses pathfinding to route from current pos to clicked pos

david
Uses pathfinding to route from current pos to clic...

ah! Now I see what they were talking about lol. I thought it was click and follow camera movement but they were asking about character movement

Похожие вопросы

Обсуждают сегодня

Господа, а что сейчас вообще с рынком труда на делфи происходит? Какова ситуация?
Rꙮman Yankꙮvsky
29
А вообще, что может смущать в самой Julia - бы сказал, что нет единого стандартного подхода по многим моментам, поэтому многое выглядит как "хаки" и произвол. Короче говоря, с...
Viktor G.
2
@Benzenoid can you tell me the easiest, and safest way to bu.y HEX now?
Živa Žena
20
This is a question from my wife who make a fortune with memes 😂😂 About the Migration and Tokens: 1. How will the old tokens be migrated to the new $LGCYX network? What is th...
🍿 °anton°
2
30500 за редактор? )
Владимир
47
а через ESC-код ?
Alexey Kulakov
29
What is the Dex situation? Agora team started with the Pnetwork for their dex which helped them both with integration. It’s completed but as you can see from the Pnetwork ann...
Ben
1
Гайс, вопрос для разносторонее развитых: читаю стрим с юарта, нада выделять с него фреймы с определенной структурой, если ли чо готовое, или долбаться с ринг буффером? нада у...
Vitaly
9
Anyone knows where there are some instructions or discort about failed bridge transactions ?
Jochem
21
@lozuk how do I get my phex copies of my ehex from a atomic wallet, to move to my rabby?
Justfrontin 👀
11
Карта сайта