Team Spartan Cookies & Milk Forums
  • Issue Tracker
  • Donations
  • Search
  • Member List
  • Help

Register

Team Spartan Cookies & Milk Forums Garry's Mod Starfall v
« Previous 1 2 3 4 5 … 18 Next »
Calcview roll
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Threaded Mode
Calcview roll
18-01-2021, 07:52 PM,
#1
57e11a Offline
Cheating Donating Member
***
Posts: 198
Threads: 68
Joined: Apr 2019
Calcview roll
(Sorry about making several threads recently, I should chill out ?)

From what I can tell, the calcview hook does not support roll, as I sometimes want to use all three degrees of freedom, it would be nice if I could also control roll with the calcview hook or some other method, just anything to allow me to use and control camera roll.

she/her
Founder of The Anisu Corporation
[Image: iZUefQi.gif]
Find
Reply
19-01-2021, 04:32 PM,
#2
Person8880 Offline
gpj.ecafllorT
*******
Posts: 2,407
Threads: 45
Joined: Sep 2013
RE: Calcview roll
It does support roll (it's the same hook used by everything that modifies the camera). For example, the following code will make your camera spin when you link:

local View = {
angles = Angle()
}

hook( "calcview", "bleh", function( Ply, Origin, Angles, FOV )
View.angles:Set( Angles )
View.angles.r = ( time.sysTime() * 360 ) % 360
return View
end )
Find
Reply
« Next Oldest | Next Newest »


  • View a Printable Version
Forum Jump:


Users browsing this thread: 1 Guest(s)
Contact UsTeam Spartan Cookies & MilkReturn to TopLite (Archive) ModeMark all forums readRSS Syndication

Powered By MyBB, © 2002-2026 MyBB Group.