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 ?)
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
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^^)
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
> 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
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.
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.
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
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.
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.
Uses pathfinding to route from current pos to clicked pos
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
Обсуждают сегодня