[Solved] Crosshairs disappear when walking backwards

Found a bug? Report it here.

Moderator: PPS-Leaders

Locked
User avatar
Nowic
Thanathon, God of the lower Planes
Posts: 186
Joined: Tue Oct 03, 2006 7:53 pm
Location: Zürich
Contact:

[Solved] Crosshairs disappear when walking backwards

Post by Nowic » Tue Feb 13, 2007 8:43 pm

Just to remind us of that bug: Crosshairs disappear when walking backwards!
"I've always lived cheaply. I live like a student, basically. And I like that because it means that money is not telling me what to do. I can do what I think is important for me to do. It freed me to do what seemed worth doing." -- Richard Stallman

User avatar
patrick
Baron Vladimir Harkonnen
Posts: 350
Joined: Mon Oct 02, 2006 6:03 pm
Location: Bern

Post by patrick » Tue Feb 13, 2007 8:51 pm

Explanation: Crosshair is an Element2D and is drawn always in the walking direction. If one decides to walk backwards, the crosshair is drawn "behind" the player and therefore disappears.

User avatar
beni
Baron Vladimir Harkonnen
Posts: 949
Joined: Tue Oct 03, 2006 9:15 am
Location: Zurich
Contact:

Post by beni » Tue Feb 13, 2007 8:55 pm

ingenious :D
"I'm Commander Shepard and this is my favorite forum on the internet."

User avatar
patrick
Baron Vladimir Harkonnen
Posts: 350
Joined: Mon Oct 02, 2006 6:03 pm
Location: Bern

Post by patrick » Tue Feb 13, 2007 11:30 pm

It's a feature!

User avatar
hofzge
Roshliikhh, lower servant to the Deities
Posts: 116
Joined: Mon Oct 23, 2006 12:01 pm

Post by hofzge » Wed Feb 14, 2007 8:32 am

And I must say it's one of the most wicked features of Orxonox!!
The sky above the port was the color of television, tuned to a dead channel.
-- William Gibson, Neuromancer

User avatar
beni
Baron Vladimir Harkonnen
Posts: 949
Joined: Tue Oct 03, 2006 9:15 am
Location: Zurich
Contact:

Post by beni » Wed Feb 14, 2007 10:48 am

Is it connected to the jump bug? I mean if one jumps, the crosshair is drawn over the player and when falling down below the player, right?
"I'm Commander Shepard and this is my favorite forum on the internet."

User avatar
bensch
Admiral Alexi Sarkhov
Posts: 101
Joined: Tue Oct 03, 2006 2:28 pm
Contact:

Post by bensch » Fri Feb 16, 2007 9:17 am

I like it!

User avatar
hofzge
Roshliikhh, lower servant to the Deities
Posts: 116
Joined: Mon Oct 23, 2006 12:01 pm

Post by hofzge » Fri Feb 16, 2007 11:48 am

Seems like a feature as everybody seems to like it...
The sky above the port was the color of television, tuned to a dead channel.
-- William Gibson, Neuromancer

User avatar
bensch
Admiral Alexi Sarkhov
Posts: 101
Joined: Tue Oct 03, 2006 2:28 pm
Contact:

Post by bensch » Fri Feb 16, 2007 11:51 am

I support it. Let's take it into the feature section and close the bug report :D

User avatar
patrick
Baron Vladimir Harkonnen
Posts: 350
Joined: Mon Oct 02, 2006 6:03 pm
Location: Bern

Post by patrick » Thu Feb 22, 2007 4:20 pm

Created a ticket for this bug https://dev.orxonox.net/ticket/207

User avatar
bensch
Admiral Alexi Sarkhov
Posts: 101
Joined: Tue Oct 03, 2006 2:28 pm
Contact:

Post by bensch » Thu Feb 22, 2007 5:22 pm

Ow... can't we just leave it as a feature?

User avatar
beni
Baron Vladimir Harkonnen
Posts: 949
Joined: Tue Oct 03, 2006 9:15 am
Location: Zurich
Contact:

Post by beni » Thu Feb 22, 2007 8:28 pm

Let's make a feature branch where we leave all the bugs.. I mean features for funny moments in the future ;)
"I'm Commander Shepard and this is my favorite forum on the internet."

User avatar
beni
Baron Vladimir Harkonnen
Posts: 949
Joined: Tue Oct 03, 2006 9:15 am
Location: Zurich
Contact:

Post by beni » Sat Apr 28, 2007 11:24 pm

I isolated the bug. It occurs only in the FPSPlayer class and I suspect something is wrong with the heading/attitude there. I cannot specify it at the moment but it'll be only a short time until I can. Stay tuned for this bug to be solved.

EDIT: Bug found. Somehow setting the crosshair's RelCoors to (0,0,0) (to close to the camera?) makes it disappear sometimes. Setting those coors to anything bigger than 0 the crosshair is not in the middle of the screen anymore but at a fixed position relative to the player.
"I'm Commander Shepard and this is my favorite forum on the internet."

User avatar
beni
Baron Vladimir Harkonnen
Posts: 949
Joined: Tue Oct 03, 2006 9:15 am
Location: Zurich
Contact:

Post by beni » Thu May 03, 2007 3:04 pm

Bug solved. Too complicated to explain it. The crosshair was basically too close to the camera (and the camera was wicked as well).

Phew, was quite a lot of work.

--> CLOSED
"I'm Commander Shepard and this is my favorite forum on the internet."

Locked

Who is online

Users browsing this forum: No registered users and 9 guests