. . . Posted September 25, 2021 Share Posted September 25, 2021 Basically in the title is there a way then i can increase/decrease its size based on the original size? Link to comment https://forums.kleientertainment.com/forums/topic/133951-is-there-a-way-to-get-how-big-the-players-dynamic-shadow-is/ Share on other sites More sharing options...
Monti18 Posted September 26, 2021 Share Posted September 26, 2021 Unfortunaly, I don't think there is a possibility... If you look at the metatable of DynamicShadow, only Enable and SetSize are defined so I don't think there is anything else: ReceiveRemoteExecute(dumptable(getmetatable(ThePlayer.DynamicShadow))) @(72.00, -369.65) [00:00:58]: K: __gc V: function: 000000000D6AC420 [00:00:58]: K: __index V: table: 000000000B563AB0 [00:00:58]: K: Enable V: function: 000000000E2B9AA0 [00:00:58]: K: SetSize V: function: 000000000E2B94E0 [00:00:58]: K: __tostring V: function: 000000000D6AC7E0 1 Link to comment https://forums.kleientertainment.com/forums/topic/133951-is-there-a-way-to-get-how-big-the-players-dynamic-shadow-is/#findComment-1498377 Share on other sites More sharing options...
TemporarySolutn Posted October 10, 2021 Share Posted October 10, 2021 Not sure if this helps you at all, but the default size is supposed to be (1.3, .6) as using inst.DynamicShadow:SetSize() Link to comment https://forums.kleientertainment.com/forums/topic/133951-is-there-a-way-to-get-how-big-the-players-dynamic-shadow-is/#findComment-1503347 Share on other sites More sharing options...
Tykvesh Posted October 21, 2021 Share Posted October 21, 2021 There is no built-in function to do that, but you can add one yourself. Note that this this doesn't have any networking local Vector3 = GLOBAL.Vector3 local DynamicShadow = GLOBAL.DynamicShadow local SetSizeProxy = DynamicShadow.SetSize local _dynamicshadowsizes = setmetatable({}, { __mode = "k" }) function DynamicShadow:SetSize(...) _dynamicshadowsizes[self] = Vector3(...) return SetSizeProxy(self, ...) end function DynamicShadow:GetSize() if _dynamicshadowsizes[self] ~= nil then return _dynamicshadowsizes[self]:Get() end end 1 Link to comment https://forums.kleientertainment.com/forums/topic/133951-is-there-a-way-to-get-how-big-the-players-dynamic-shadow-is/#findComment-1505818 Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now