Hello - I am just starting my Unity journey - currently working through the Unity Essentials course. I just learned how to write a simple C# script to transform objects. I am now trying to recreate my script in Bolt to see if I can get the same result on a different object. Here’s the script:
public class PositionChange : MonoBehaviour
{
public Vector3 positionChange;
public Vector3 rotateChange;
// Start is called before the first frame update
void Start()
{
}
// Update is called once per frame
void Update()
{
transform.position += positionChange;
transform.Rotate(rotateChange);
}
}
In bolt, I tried to go from Update → Transform with a Get Variable rotationChange going into the transform as well, but it throws an error. When I try to simply set a vector 3, nothing happens. I’m sure the answer is pretty simple, but I can’t figure it out. Thank you!
