Andy Gilbert Posted November 20, 2012 Share Posted November 20, 2012 HI, im trying to port some code over and one of the functions is Quaternion.Slerp(). Is there such a function witin leadwerks? Thanks Andy Quote The good news about computers is that they do what you tell them to do. The bad news is that they do what you tell them to do. Leadwerks Game-Ready 3D Models:https://sellfy.com/gib3d Link to comment Share on other sites More sharing options...
Pixel Perfect Posted November 21, 2012 Share Posted November 21, 2012 I'm aware of the EntityQuat function that returns the quaternion for a given entity (and have indeed used it) but I'm not aware of any support for functions that act upon quaternions. Josh would be able to give a categorical answer as you never know he may have something hidden away somewhere! Here is a link to a Quaternion C++ class though which contains a spherical linear interpolation function definition ... Quaternion Class Quote Intel Core i5 2.66 GHz, Asus P7P55D, 8Gb DDR3 RAM, GTX460 1Gb DDR5, Windows 7 (x64), LE Editor, GMax, 3DWS, UU3D Pro, Texture Maker Pro, Shader Map Pro. Development language: C/C++ Link to comment Share on other sites More sharing options...
Canardia Posted November 21, 2012 Share Posted November 21, 2012 Probably PointEntity() can be used instead. Quote ■ Ryzen 9 ■ RX 6800M ■ 16GB ■ XF8 ■ Windows 11 ■ ■ Ultra ■ LE 2.5 ■ 3DWS 5.6 ■ Reaper ■ C/C++ ■ C# ■ Fortran 2008 ■ Story ■ ■ Homepage: https://canardia.com ■ 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.