Jump to content

Model Positioning


gamecreator
 Share

Recommended Posts

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).

Link to comment
Share on other sites

  • 4 weeks later...

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...