ParallelGraphics Forums
SDK
You are here:
[Forums]
::
[General]
::
[SDK]
All forums
How to use forums
Favorites
Services
Registration
Registration
Forgot your password?
Help
Help
Support
Quick search
Subscribe to newsletters
email:
password:
 
General
-
SDK
[reply]
[back to forum]
[new message]
[all forums]
Subject:
PlaneSensor
Sender:
mutafchiev@gmx.de
27.02.08 03:37
Hi there,
I have some problem with PlaneSensor.
I have one Transform node with Viewpoint and NavigationInfo
node. I have another Transform node with some Shape object.
I define one PlaneSensor and I put it in the second Transform
node with the Shape. If I use a ROUTE to move the Shape
there is no problem, but if I try to move the camera insead of
the object it does not work properly. I do the follow:
In a Script node I define a function "eventIn SFVec3f drag":
function drag(value,time) {
camtrans.translation[0]= -value[0];
camtrans.translation[2]= -value[1];
}
I am using this ROUTE:
ROUTE PLANE_TOUCH.translation_changed TO SCRIPT.drag
Could some one tell me what is wrong here!
Regards
Stoyan
[reply]
[back to forum]
[new message]
[all forums]
PlaneSensor
/
mutafchiev@gmx.de
/ 27.02.08 03:37
Re: PlaneSensor
/ Uh / 14.04.08 01:34
Messages in thread:
2
[reply]
[back to forum]
[new message]
[all forums]
© 1998-2007
ParallelGraphics
. All rights reserved.
Terms of use
.