Jump to content

Recommended Posts

Posted

It looks like when a model loads, Leadwerks doesn't use the Pivot to position it to 0, 0, 0. I'm not sure if this is intentional.

 

outline = Model::Load("Models/model.mdl");
outline->SetPosition(0.0, 0.0, 0.0, true);

 

The above code will place the model to different places depending on whether the second line is commented out or not (unless the pivot is at 0, 0, 0, of course).

  • 4 weeks later...
Posted

The top-level model in the entity may have a position other than 0,0,0, which is likely what is happening.

  • Upvote 1

My job is to make tools you love, with the features you want, and performance you can't live without.

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.

×
×
  • Create New...