Cant you just store the last mouse position take the change from the current one scale it down appropriately apply the pitch yaw rotation to the player and parent the camera to the player
Here is how it works. Store the last mouse position in a var. Subtract the y and x coords of the current pos from the previous. Divide each by sensitivity. Apply x result as yaw y result as pitch
@AlienG I don't really think you do, if that's what you think. I really don't care one way or the other at this point. People are amazingly easy to ignore online. Let me give you an example:
@Calvin'sHobbies You're so much less dictatorial than I would be if I had started the server. I would have required a PPCG account with a certain amount of rep. :P
Status: 75% - We have a prototype to play with the UI
Previous RFC: RFC: Better chat @mentions
Problem Statement & Background
Please see the previous RFC.
Proposed solution
The feedback to the solution I proposed in the original RFC was overwhelmingly positive. We now have a prototype of the...
osascript (AppleScript from the command line), 40 33 bytes
Working on fixing this. Got to go to sleep, though.
(read path to me)'s paragraphs 1
Executing on a file called a with osascript a.
Gets the first paragraph (line) of the file and prints it to STDOUT with a trailing newline, therefo...
@quartata - I went back to the Nether and the zombie pigmen were not still mad at me! (It probably helped that I logged in and out a couple times... :P)
The Inspiration
The Task
You must create a program, that, in as many languages as possible, replaces every instance of ^ with a markdown formatted link (meaning that if I was to post it in an answer, it would automatically read it as an image and place the image instead of the words) of thi...
Can I put the name of my baby as one of the co-authors of a scientific paper?
I know it sounds disturbing, but it's a way of mine to protest against co-authors that haven't made any contribution (they haven't even read it or are part of the research area) to a paper, but they are part of the res...
ok.. after PHP, I assume PL/SQL, OpenEdge ABL make no sense either?
this is the list C, C++, C#, Python, PHP, Visual Basic .NET, Perl, Delphi/Object Pascal, Assembly, Objective-C, Swift, Pascal, Matlab/Octave, PL/SQL, OpenEdge ABL, R
Proto space invaders
This is a graphical output challenge where the task is to give the shortest code per language.
Task
Your code should allow the user to move the following alien around the screen/window.
The background should be white and the window/screen must be at least 200 pixels b...
Proto space invaders
This is a graphical output challenge where the task is to give the shortest code per language.
Task
Your code should allow the user to move the following alien around the screen/window.
The background should be white and the window/screen must be at least 200 pixels b...
This is inspired by Monday Mini-Golf #6: Meeesesessess upp teeexexextext
Background
ETHproductions have difficulty from entering text to his usual webpage. Everytime, the text will be meeesesessessesseesseessedessed. Your task is to help him to type so the normal behavior is achieved.
The tran...
On a different topic, I think I've figured out a good way to have fastest-code challenges. The idea is that instead of competing on absolute speed, which varies between languages (C/assembly/lower would always be the fastest) and also between machines, competition is done on relative speed compared with a far simpler task, such as 10,000 multiplications.
So users would have to time both the simple code and their solution, and the ratio between these times is what's scored.
Hence, the focus is put on having the fastest algorithm.
@feersum Their relative ratios ought to be the same, though? Hmm. That's not quite right. Perhaps it would better to say that the relative ordering would likely remain consistent.
BogoMips (from "bogus" and MIPS) is an unscientific measurement of CPU speed made by the Linux kernel when it boots to calibrate an internal busy-loop. An oft-quoted definition of the term is "the number of million times per second a processor can do absolutely nothing".
BogoMips is a value that can be used to verify whether the processor in question is in the proper range of similar processors, i.e. BogoMips represents a processor's clock frequency as well as the potentially present CPU cache. It is not usable for performance comparison between different CPUs.
== History ==
In 1993, Lars Wirzenius...
@feersum The point you raised earlier was that the choice of metric affects the ratios. I.e. Python is worse at multiplication than addition compared to C. However, that will only change the absolute ratios, not the relative ratios of the answers. That's what I'm thinking.