Gabriel Posted March 6, 2012 Share Posted March 6, 2012 Hello, I would like to move my camera which fixes point (Target) between two points (A and B). TVec3 Target(….) TVec3 A(….) TVec3 B(….) Frame = 200 TVec3 Inc = (B-A)/Frame For( int i=0;i<Frame;i++) { MoveEntity(CameraPivot,inc); PointEntity(Camera,TargetEntity); PositionEntity(Camera,EntityPosition(m_CameraPivot),1); Render(); } My problem is that the camera does not go in the direction of point B !!! Help me please ^^ Gabriel Quote Link to comment Share on other sites More sharing options...
Marleys Ghost Posted March 6, 2012 Share Posted March 6, 2012 http://www.leadwerks.com/werkspace/topic/4593-camera-mouvement/ Quote AMD Bulldozer FX-4 Quad Core 4100 Black Edition 2 x 4GB DDR3 1333Mhz Memory Gigabyte GeForce GTX 550 Ti OC 1024MB GDDR5 Windows 7 Home 64 bit BlitzMax 1.50 • Lua 5.1 • MaxGUI 1.41 • UU3D Pro • MessiahStudio Pro • Silo Pro 3D Coat • ShaderMap Pro • Hexagon 2 • Photoshop, Gimp & Paint.NET LE 2.5/3.4 • Skyline • UE4 • CE3 SDK • Unity 5 • Esenthel Engine 2.0 Marleys Ghost's YouTube Channel • Marleys Ghost's Blog "I used to be alive like you .... then I took an arrow to the head" Link to comment Share on other sites More sharing options...
Gabriel Posted March 6, 2012 Author Share Posted March 6, 2012 ?? is not the same question but other probleme ;-) Gabriel Quote Link to comment Share on other sites More sharing options...
Gabriel Posted March 8, 2012 Author Share Posted March 8, 2012 oups, yes is same ^^ Gabriel Quote 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.