Jump to content

Question for Josh about Model Rotation?


Von04
 Share

Recommended Posts

Since it is Christmas and all, I was just wondering if Josh would share his code for how he rotates a Model with the Mouse the way he does it in his ModelEditor. Or if anyone else knows how I could accomplish this in Leadwerks, that would be greatly appreciated. I figure it has to do with quaternions, but trying to understand those just made my head spin. Any help or links would be greatly appreciated. Merry Christmas all.

3d world studio. 3ds Max 8. GTX 260. Visual Studio 2010. Dual Core 2.6 Mhz processor.

Link to comment
Share on other sites

Have you already looked at TurnEntity? You can specify each axis and if the turn is global or local.

(Or just apply the code that makes your head spin to the model. tongue.png )

I applied the algorithm to my model that makes my head spin, and the model just blew up. Not exactly the effect I was looking for, but hey, at least now I know how to do destructible objects. LOL :)

3d world studio. 3ds Max 8. GTX 260. Visual Studio 2010. Dual Core 2.6 Mhz processor.

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