ParallelGraphics Forums
Authoring Tools
You are here: [Forums]::[Authoring Tools]

Registration 
Registration
Forgot your password?

Help 
Help
Support

Quick search 

Subscribe to newsletters 

Install Cortona VRML Client for FREE!
Outline 3D
Try RobinZone!
email:  password:
  Authoring Tools

Subject: Re: Rotate an object by rotate onother object
Sender: Uh 22.06.05 12:49
I have a sphere that I made possible to rotate. What I would like to do is to make that rotate affecting another object to rotate exact the same. If I rotate left the other object should rotate left and vice versa.

#VRML V2.0 utf8

DEF main_SS SphereSensor {}
DEF a_TR Transform {
translation -2 0 0
children [
Shape {
geometry Sphere {}
appearance Appearance {
material Material {}
}
}
]
}
DEF b_TR Transform {
translation 2 0 0
children Shape {
geometry Box {}
appearance Appearance {
material Material {}
}
}
}
ROUTE main_SS.rotation_changed TO a_TR.rotation
ROUTE a_TR.rotation TO b_TR.rotation

 


Rotate an object by rotate onother object / p.kinnbom@swipnet.se / 20.06.05 14:10
     Re: Rotate an object by rotate onother object / Uh / 22.06.05 12:49

Messages in thread: 2


© 1998-2007 ParallelGraphics. All rights reserved. Terms of use.