Discussions
Activity
Sign In
Games what "we" wrote
Sounds like: https://en.wikipedia.org/wiki/Gimbal_lock ?
tl;dr - store pitch/yaw/roll as floats in your controller, clamp the pitch amount between the values, then update camera transform rotation from the euler angles you have.
HDRP b…
by
djchump
March 2021
Games
permalink
Code and shit
Oh and I asked your question to some colleagues (all currently struggling lel), and wrote my answer in C as part of that FTR... Single line of code FTW!
#include
#define INPUT_LENGTH() INPUT_HAS_DIGIT(1000000) + \
�…
by
acemuzzy
July 2020
Forum Talk
permalink
Code and shit
I slowed down the animation by changing:
float t = iTime * 0.5;//5.0;
(slowing things right down often best way to check out any oddness in animations).
When slowed, I could see that the colour changes were not evenly-spaced in time. Thi…
by
djchump
April 2020
Forum Talk
permalink
How many active posters are there here?
#define PI 3.14159265
by
Nina
March 2020
Off topic
permalink
The No Subject Thread
Nina wrote:
I'm going back to Uni at the tender age of 45. Just a year but still. Computer science MSc. I don't even know rudimentary computer science but they've offered me a place anyway on the understanding I will learn Pytho…
by
djchump
August 2017
Off topic
permalink
Secret Australian Business
#defineaboriginal.
by
Facewon
November 2016
Off topic
permalink
Code and shit
I giggled: https://gist.github.com/aras-p/6224951
// Just before switching jobs:
// Add one of these.
// Preferably into the same commit where you do a large merge.
//
// This started as a tweet with a joke of "C++ pro-tip…
by
djchump
August 2015
Forum Talk
permalink
Pictures thread. It has pictures in it.
I had to consult:
http://m.urbandictionary.com/#define?term=gnops
by
WorKid
February 2013
Off topic
permalink
Howdy, Stranger!
It looks like you're new here. If you want to get involved, click one of these buttons!
Sign In
Apply for Membership
Home
Mobile site