extenz Posted October 29, 2015 Share Posted October 29, 2015 Hi, I'm trying make my fov lerp from 90 to 110 while spriting to make it look cool but it does not seem to be working I tried using Math::Lerp instead of Math:Lerp but it didn't change anything. PS: I bought Leadwerks a few hours ago so I'm still learning stuff, it's also my first time encountering Lua Quote Link to comment Share on other sites More sharing options...
Josh Posted October 30, 2015 Share Posted October 30, 2015 I have not run your code, but I can see you have self.camera::SetFOV and it should be self.camera:SetFOV (only one colon). 1 Quote My job is to make tools you love, with the features you want, and performance you can't live without. Link to comment Share on other sites More sharing options...
f13rce Posted October 31, 2015 Share Posted October 31, 2015 It might also help to change the first value (the 90) into self.camera:GetFOV() so that the lerping will work better 1 Quote Using Leadwerks Professional Edition (Beta), mainly using C++. Windows 10 / Linux Mint, Visual Studio 2017. GPU: NVidia GeForce GTX970, CPU: Intel i7 7700K @ 4.20 GHz Previously known as Evayr. Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.