Jump to content

Base and BaseClass


macklebee
 Share

Recommended Posts

Maybe because it was impossible to read the position of a model when it was created? It returned always Vec3(0,0,0):

http://leadwerks.com/werkspace/index.php?&app=tracker&showissue=98&view=findpost&p=412

Ryzen 9 RX 6800M ■ 16GB XF8 Windows 11 ■
Ultra ■ LE 2.53DWS 5.6  Reaper ■ C/C++ C# ■ Fortran 2008 ■ Story ■
■ Homepage: https://canardia.com ■

Link to comment
Share on other sites

Why should you be able to read the moved position of a model before an UpdateWorld() has occurred? The last time I checked that was one of the purposes of UpdateWorld():

Updates physics and movement/positioning in the current world.

 

and i still do not see the connection to why these two files are back in the SDK.

Win7 64bit / Intel i7-2600 CPU @ 3.9 GHz / 16 GB DDR3 / NVIDIA GeForce GTX 590

LE / 3DWS / BMX / Hexagon

macklebee's channel

Link to comment
Share on other sites

It's not the moved position, but the model's current position, which doesn't even change. It works from all other languages, but not from Lua. I think it's just some simple bug when scene is loaded, then the model's position is not given correctly to Lua before UpdateWorld is called.

Ryzen 9 RX 6800M ■ 16GB XF8 Windows 11 ■
Ultra ■ LE 2.53DWS 5.6  Reaper ■ C/C++ C# ■ Fortran 2008 ■ Story ■
■ Homepage: https://canardia.com ■

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...