Viewpoint Forums
Viewpoint Forums
VETScript
VET Script and CameraManipulator|
Go
![]() |
New
![]() |
Find
![]() |
Notify
![]() |
Tools
![]() |
Reply
![]() |
|
|
Member |
Hi,
some questions 1)How to change and manage the property of CameraManipulator with vet script I tried this ( inside an event handler function) but don't work CameraManipulator.deltaPanY = MTSEvent._dy_; 2) I tried to moltiply a Point3D with a Matrix like this: var pt = new Point3d( 1,2,3); var m = new Matrix(); newPt = pt * m; but it don't work ; the x,y,z result is 0 any idea? thanks in advance |
||
|
|
Member |
Hello,
Could you show me the more complete code examples that you used? This could help me in determining your problem. Thanks |
|||
|
|
Member |
thanks for the response
I solved the previous question with the camera but this .... maybe is a bug I tried tu use VetScript and the Objects: Point3d and Matrix. I've a cube scaled in the scene and I would like to multiply a point for his scale. if I use this: var pt = new Point3d( 1,2,3); pt *= myCube.Matrix.Scale; alert( pt ); // strange result ( I think is a bug ) I need to do that for obtain a correct result var pt = new Point3d( 1,2,3); pt.x *= myCube1.Matrix.Scale.x; pt.y *= myCube1.Matrix.Scale.y; pt.z *= myCube1.Matrix.Scale.z; alert( pt ); // // correct result I'm wrong? I think that VETScript is very interesantly, why not create a forum category? |
|||
|
| Powered by Eve Community |
| Please Wait. Your request is being processed... |
|
Viewpoint Forums
Viewpoint Forums
VETScript
VET Script and CameraManipulator
