Viewpoint Developer Central    Viewpoint Forums    Viewpoint Forums  Hop To Forum Categories  Viewpoint Media Player Support    How to restrict translation?

Moderators: e_phoenix13
Go
New
Find
Notify
Tools
Reply
  
-star Rating Rate It!  Login/Join 
tko
Member
Posted
I think this is relatively a general question of VMP.
Can we restrict users' translation interaction
(by left + right click & drag) with any parameters
in XML? I know we can restrict camera interaction.

Thanks in advance.

-tko
 
Posts: 29 | Registered: January 24, 2003Reply With QuoteEdit or Delete MessageReport This Post
Member
Posted Hide Post
Dear TKO,

I you want to restrict a user interaction rotation movement (just left-clicking and dragging), then what you are asking about doing still involves restricting camera movement. You can use and , and that will keep the user from being able to rotate around the object.

If you are talking about the user holding down shift, left-clicking and dragging in order to pan the camera (this causes the object to appear like it is translating), then unfortunately, there currently does not exist a means of doing that. Hope this helps. ~Chris
 
Posts: 840 | Registered: January 24, 2003Reply With QuoteEdit or Delete MessageReport This Post
Member
Posted Hide Post
Hi,
I succeeded restricting user interaction by adding the following code at the main level in mtx:





'dummy' is the name for a non-existent instance. Any name not already used should be valid.

Hope that helps.
Pascal Houba
 
Posts: 41 | Registered: January 24, 2003Reply With QuoteEdit or Delete MessageReport This Post
  Powered by Eve Community  
 

Viewpoint Developer Central    Viewpoint Forums    Viewpoint Forums  Hop To Forum Categories  Viewpoint Media Player Support    How to restrict translation?