≡
Products
▼
Support
▼
Company
▼
Forum
Ambiera Forum
Discussions, Help and Support.
Create a new account
,
Search
, or Login:
Create reply in
Changing the SPEED of a rotation.
Posted by:
(you are not logged in)
Enter the missing letter in: "?nternational"
(you are not logged in)
Text:
[quote][b]impelluso[/b] wrote: Good Morning. I am learning a lot. But could I ask for help on one thing that as even confused me in Inventor. INSIDE of a main routine, I created an AnimtorRotation and attached it to a scene node. NOW, inside of a keyboard call back, I want to change the speed. I know I COULD do this: axleSceneNode.Rot.X += 1.0 But that is a ONE time change in the ANGLE. I want to change the speed. The speed is not a field like Rot.x is. And this is where my ignorance begins (I am a mechanical engineer learning this). BELOW is what I want to do. I know it is wrong, but could someone tell me how to change the SPEED inside a call back function SIMILAR to this intent: document. = function(event) { var key = String.fromCharCode(event.keyCode); if (key == 'F' && axleSceneNode) { axleSceneNode.AnimatorRotation.Vect3d.Y += 0.1; } engine.handleKeyDown(event); };[/quote]
Possible Codes
Feature
Code
Link
[url] www.example.com [/url]
Bold
[b]bold text[/b]
Image
[img]http://www.example.com/image.jpg[/img]
Quote
[quote]quoted text[/quote]
Code
[code]source code[/code]
Emoticons
Copyright© Ambiera e.U. all rights reserved.
Privacy Policy | Terms and Conditions | Imprint | Contact