Inside Sabertooth
Learn how Sabertooth uses 3ds Max to create 3D interactive projects, including HBO Go’s Game of Thrones interactive experience
  • 1/3
You are here: Forum Home / Autodesk® MotionBuilder® / Open Reality / MouseInput function?
  RSS 2.0 ATOM  

MouseInput function?
Rate this thread
 
58932
 
Permlink of this thread  
avatar
  • petul.ka
  • Posted: 11 August 2011 05:48 AM
  • Total Posts: 1
  • Joined: 19 July 2011 06:47 AM

I would like to manually manipulate camera in viewport from device plugin, simulating alt+mouse drag. I tried to use the FBRenderer::MouseInput() function (called from mSystem.Renderer->...), passing the coordinates, mouse button and modifier as parameters. However, the input is not received. I also tried simple actions like right mouse button, expecting the pop-up menu to show up. Is there any specific location from which the function needs to be called? Is it even possible to manipulate the camera like this?

I also tried to change camera position vector and noticed that if i set the vector of any producer camera, nothing happens. Just the custom camera responds correctly (tested in ormanipcamera sample).



Replies: 0