Image:
 Author: Xray Group: Default Filesize: 12.07 kB Date added: 2021-10-08 Rating: 5.6 Downloads: 3115 Views: 796 Comments: 23 Ratings: 2 Times favored: 1 Made with: Algodoo v2.1.0 Tags:
|
This is mainly a sample scene for user UnityDogGaming04, but anyone who uses Thyme Scripting in their scenes is welcome to use it.
In this scene, script in the body of a spring reads the color of the objects that each end of the spring is attached to. The script can easily be modified to read most other parameters besides color.
Update: This script can not only READ data from the objects that the spring is attached to, but it can also WRITE data simply by reversing one of the script lines:
_Box1Color = Box1.color Reads the color of a box.
Box1.color = [1, 1, 1, 1] Writes a color array to a box.
Update: Lightened the background so that the spring is more visible. |
Last edited at 2021/10/09 05:33:16 by Xray
Please log in to rate this scene
|