Template talk:KV Angles: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Created page with 'A note should probably be included in the description...because the transform tool rotates an by an inverted value on the Y axis. Presumably, this was to prevent Y from rotating…')
 
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
A note should probably be included in the description...because the transform tool rotates an by an inverted value on the Y axis.  Presumably, this was to prevent Y from rotating the opposite direction in the 'XZ' viewport when using the transform tool.  Would it be proper to note that the Y value of 'angles' is inverted in the transform tool?--[[User:TheFixer333|TheFixer333]] 00:15, 26 July 2009 (UTC)
=='Angle' input-type==
 
'''Is this format proper?'''
... <code>'''''angles''''' <[[angles]]></code>
 
Shouldn't it be:
<code>'''''[[angles]]''''' <[[array]]></code>
OR
<code>'''''[[angles]]''''' <[[vector]]></code>
 
 
*"'''''angles'''''", I thought, is the one that should point to the angles page...like targetname does here:
'''Name''' <code>'''''[[targetname]]''''' <[[string]]></code>
* "<angle>" on the other hand,  is the input... is there such thing as an 'angle' input-type? Is it supposed to somehow signify that it's not just a vector/array etc. I'm lost. Angles in source/hammer and their implementation is confusing to me.--[[User:TheFixer333|TheFixer333]] 02:16, 26 July 2009 (UTC)
:Work with what Hammer presents the user, which is a specific angles UI. Not that I agree with adding raw KV names at all - see [[Talk:SDK Docs#Keyvalues_or_SmartEdit_text.3F]]. --[[user:TomEdwards|TomEdwards]] 15:29, 27 July 2009 (UTC)
 
==Y-Axis Inversion==
A note should probably be included in the description...because the transform tool rotates by an inverted value on the Y axis.  Presumably, this was to prevent Y from rotating the opposite direction in the 'XZ' viewport when using the transform tool.  Would it be proper to note that the Y value of 'angles' is inverted in the transform tool?--[[User:TheFixer333|TheFixer333]] 00:15, 26 July 2009 (UTC)

Latest revision as of 08:29, 27 July 2009

'Angle' input-type

Is this format proper?

... angles <angles>

Shouldn't it be:

angles <array>

OR

angles <vector>


  • "angles", I thought, is the one that should point to the angles page...like targetname does here:
Name targetname <string>
  • "<angle>" on the other hand, is the input... is there such thing as an 'angle' input-type? Is it supposed to somehow signify that it's not just a vector/array etc. I'm lost. Angles in source/hammer and their implementation is confusing to me.--TheFixer333 02:16, 26 July 2009 (UTC)
Work with what Hammer presents the user, which is a specific angles UI. Not that I agree with adding raw KV names at all - see Talk:SDK Docs#Keyvalues_or_SmartEdit_text.3F. --TomEdwards 15:29, 27 July 2009 (UTC)

Y-Axis Inversion

A note should probably be included in the description...because the transform tool rotates by an inverted value on the Y axis. Presumably, this was to prevent Y from rotating the opposite direction in the 'XZ' viewport when using the transform tool. Would it be proper to note that the Y value of 'angles' is inverted in the transform tool?--TheFixer333 00:15, 26 July 2009 (UTC)