|
Godlike |
|
Joined: November 11th, 2004, 1:18 pm Posts: 1213 Location: New York
Opus: Opus Pro 9.75
OS: Windows 10 Pro 64 bit
System: Core i7, 16G RAM, Nvidia 640GT (desktop), plus Windows 10 and Android tablets
|
Hi Peter
I've attached a sample.
It was created as follows:
Set up a text input box in which the viewer can enter a number for the rotation angle, using the store input in a (new) variable. We can, for example, call the variable "angle." An advanced trigger like key press, any key and a store to text (.txt) file action with TEMP directory checked will save the number's value in the variable, angle. Then a button to rotate a vector object called Vector1 can read the text file for variable, angle, and be scripted as
Vector1.SetRotation(angle, true)
The viewer enters a number, clicks the button and the vector rotates to the angle they entered.
Variations on this design can be created given Opus's extraordinary versatility.
Hope this helps.
Kind Regards,
You do not have the required permissions to view the files attached to this post.
_________________ Stephen
Last edited by Stephen on June 27th, 2006, 3:26 pm, edited 1 time in total.
|
|