Похожие чаты

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 ответов

26 просмотров

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

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

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

Карта сайта