Von04 Posted December 26, 2012 Share Posted December 26, 2012 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. Quote 3d world studio. 3ds Max 8. GTX 260. Visual Studio 2010. Dual Core 2.6 Mhz processor. Link to comment Share on other sites More sharing options...
gamecreator Posted December 26, 2012 Share Posted December 26, 2012 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. ) Quote Link to comment Share on other sites More sharing options...
Von04 Posted December 26, 2012 Author Share Posted December 26, 2012 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. ) 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 Quote 3d world studio. 3ds Max 8. GTX 260. Visual Studio 2010. Dual Core 2.6 Mhz processor. Link to comment Share on other sites More sharing options...
macklebee Posted December 26, 2012 Share Posted December 26, 2012 he is moving/rotating the camera and not the object... I have sent you the modelviewer code in a PM Quote 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 More sharing options...
Von04 Posted December 26, 2012 Author Share Posted December 26, 2012 he is moving/rotating the camera and not the object... I have sent you the modelviewer code in a PM Thanks macklebee, much appreciated. Quote 3d world studio. 3ds Max 8. GTX 260. Visual Studio 2010. Dual Core 2.6 Mhz processor. Link to comment Share on other sites More sharing options...
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.