VeTaL Posted March 2, 2010 Posted March 2, 2010 I need to place one entity(pivot) at another entity's position. I found http://leadwerks.com/wiki/index.php?title=Entities#PositionEntity But there is only one C-function C: void PositionEntity( TEntity entity, TVec3 &position, int global ) Isn't it a good idea to add to C-format some overloaded functions like in C++ format (it would be nice to PositionEntity(pivot,player))? Quote Working on LeaFAQ
Rick Posted March 2, 2010 Posted March 2, 2010 LE is more based on C than C++. I normally just do PositionEntity(pivot, EntityPosition(player)); Quote
Canardia Posted March 2, 2010 Posted March 2, 2010 LEO is more based on C++ than C. I normally just do pivot.SetPosition( player.GetPosition() ); 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 ■
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.