Viewpoint Forums
Viewpoint Forums
JavaScript
How to get properties of an object|
Go
![]() |
New
![]() |
Find
![]() |
Notify
![]() |
Tools
![]() |
Reply
![]() |
|
|
Junior Member |
I have a model of the plane and I need to rotate it on specifyed angels. I do it with 3 textfields so if you wanna rotate it around some axis you can do it. Everything is OK, but when user rotates (and moves) my object with _mouse_ it's very nesessary to put new coordinates and angels. Where and how can I get 'em?
|
||
|
|
Member |
You have two options, one is to
stop the user from moving your plane. You can do this with the camera constraints. Here's an example, using the CameraRotateMin and CameraRotateMax: http://solutions.viewpoint.com/examples/125.zip The alternative is to use the getproperty call with which you can obtain the current camera position. Here's an example: http://solutions.viewpoint.com/examples/138.zip -Derek |
|||
|
|
Member |
Hi,
these links are not working!! Where else can i see these examples?? thanks! |
|||
|
|
Member |
|
|||
|
| Powered by Eve Community |
| Please Wait. Your request is being processed... |
|
Viewpoint Forums
Viewpoint Forums
JavaScript
How to get properties of an object
