Get/SetPlayerZAngle()
Moderator: GZDoom Developers
Get/SetPlayerZAngle()
ACS functions for getting and setting the player's vertical view angle
- Bio Hazard
- Posts: 4019
- Joined: Fri Aug 15, 2003 8:15 pm
- Location: ferret ~/C/ZDL $
- Contact:
I don't know... all players must make use of changing their facing direction to get through a map, so SetActorAngle isn't a terribly big deal (plus it's useful on many other actors besides players.) The view angle though... I think one of the big things is that not every player makes use of changing the view angle. I play with mouselook so a script which changes my view angle wouldn't bother me unless it was designed to be annoying. For a player who doesn't use any sort of up and down freelook, I can imagine them getting annoyed at having to always go back to the home key to reset their view (if they don't even have to look up what the key is the first time.)
The flipside is, of course, I can imagine this being used for neat effects like weapon recoil. But that could also easily get annoying. ESPECIALLY for those people who prefer not to use freelook.
The flipside is, of course, I can imagine this being used for neat effects like weapon recoil. But that could also easily get annoying. ESPECIALLY for those people who prefer not to use freelook.
- solarsnowfall
- Posts: 1581
- Joined: Thu Jun 30, 2005 1:44 am
While we have cameras (and this would come in handy for those as well), I imagine that for completeness, having a cutscene-style thing set up that freezes the player, and then moves them in direction X and has them turn and look up without the use of cameras, would be nice for not having to try and place a camera in the exact spot that a player will be and hope that they actually end up in that spot, etc... Plus, the effect wouldn't be as noticeable.
But either way I could see this quite helpful as a Get/SetActorZAngle, for cameras as well.
But either way I could see this quite helpful as a Get/SetActorZAngle, for cameras as well.
- Ryan Cordell
- Posts: 4349
- Joined: Sun Feb 06, 2005 6:39 am
- Preferred Pronouns: No Preference
- Operating System Version (Optional): Windows 10
- Graphics Processor: nVidia (Modern GZDoom)
- Location: Capital of Explodistan
- solarsnowfall
- Posts: 1581
- Joined: Thu Jun 30, 2005 1:44 am