#quake/ultrakill camera tilt in unity
1 messages · Page 1 of 1 (latest)
like when the player moves to the left or right, the camera tilts in that direction
hold on maybe i can find a vid of quake with it
High-definition gameplay footage of id Software's Quake, one of the first true 3D first-person shooters ever made. Although its development was hampered at times and it would mark John Romero's last outing at id, Quake would go on to be critically acclaimed. Some of its fans even prefer it over other grandfathers of the genre like Doom and Wol...
its shown at the start
Looks to me like they calculate a lateral acceleration value based on current and previous velocity, and then move the camera tilt to a corresponding angle over time.
i have no idea what that means but i will find out
Basically you can take your current velocity, and then slowly rotate the camera overtime based on how fast your going. To smoothly rotate you can also use a slerp
so, id use RB.Velocity?
im new to Scripting, so my brain usually comes up with stupid lines of code that won't work
Not velocity. Acceleration. Since the tilt seems to only happen when the player starts moving.