Author Topic: Crosshair for 3rd view?  (Read 1460 times)

Is it possible to make a client add-on for keeping your crosshair while in 3rd view? This would be pretty useful.

how would this work? it would just point at your head

I know it would seem as if it would be useless, but I sometimes use it in Minecraft and it's pretty useful.

how would this work? it would just point at your head
No it wouldn't. However, it'd still be useless because of the camera offset. Your character wont aim at the crosshair in third person.

No it wouldn't. However, it'd still be useless because of the camera offset. Your character wont aim at the crosshair in third person.
If you change the cross hair position it would.

If you change the cross hair position it would.
The problem isn't the position. The problem is the angle.
Not only is it completely impossible to determine the camera's position in third person, client or server sided.
But even if you could, you can't raycast on the client side. There would be no way to determine where the crosshair should be.
You can't just leave it in one spot, because the camera isn't looking at the same angle as the player.

So there's no way we can re-position it with math? How do the rest of 3rd person games work?

So there's no way we can re-position it with math? How do the rest of 3rd person games work?
In third-person games, the projectiles shoot at whatever the crosshair is on top of.

In Blockland, however, projectiles are not adjusted based on aim when in third person. They just shoot forward from your character.

Where would you put it?



Alter where your camera goes.
and... put it right behind your head?

then your head's in the way.

any offset that allows you to still see forward will create a line, rather than a single point, where you could put a crosshair.

I'm guessing firing projectiles from the camera is completely impossible or isn't practical? Is there a way to offset where projectiles are fired from or is that all hardcoded?

I'm just throwing ideas out there, I really have no idea what I'm talking about.

I'm guessing firing projectiles from the camera is completely impossible or isn't practical?
it would sure look silly, and would be completely unfair if you stand behind a wall. please don't make that happen.


Technically, if you could... you could put sort of a range on there...

sort of like this, but simpler.


The top point would be where projectiles tend to go when firing and hitting nothing (the farthest target).
« Last Edit: June 28, 2014, 11:48:18 PM by Teneksi »

But, if it could be offset, would it be possible to make it fire from the distance that the player starts at?

Like, offset to match the trajectory of the crosshair but still coming from a believe-able position in relation to the player?

then your head's in the way.
I know it would seem as if it would be useless, but I sometimes use it in Minecraft and it's pretty useful.


I'm guessing firing projectiles from the camera is completely impossible or isn't practical? Is there a way to offset where projectiles are fired from or is that all hardcoded?
That's coded into the guns.

So there's no way we can re-position it with math?
[/quote]
Can't do math when there's no data.
How do the rest of 3rd person games work?
Because other games have that feature built in by default, and probably data to work with if the feature weren't available. (the raycast for where the player's aiming at, the location of the camera)
« Last Edit: June 28, 2014, 11:59:54 PM by Chrono »