Difference between revisions of "Talk:GetScale - ObjectReference"

From the CreationKit Wiki
Jump to navigation Jump to search
imported>Darkconsole
(Created page with "== GetScale, SetScale == Interesting little tidbit I noticed with these functions, which made sense only after looking at the console version of this method. When you SetScal...")
 
imported>Darkconsole
m (Blanked the page)
Line 1: Line 1:
== GetScale, SetScale ==


Interesting little tidbit I noticed with these functions, which made sense only after looking at the console version of this method. When you SetScale(1.0) you may not get 1.0 back from GetScale(). It seems on actors the ActorBase height multiplier is getting used in SetScale(), with GetScale() thusly returning the modified value instead of what you set.
I was really confused over some behaviours all night, and it turned out to when I did scale = actor.GetScale() * actor.GetHeight() for the purpose of my maths, all was well.
--[[User:Darkconsole|Darkconsole]] ([[User talk:Darkconsole|talk]]) 2015-02-09T01:52:57 (EST)

Revision as of 21:46, 9 February 2015