Hi folks,
I’m old school looking to be a hobbyist, wrote a few games/apps back in the nsbasic & casl days. Didn’t retire from them lol.
Torn between Unity and UE4, pros/cons, I’ve read the debates so lets not go there!!
A super easy comparison would be if someone could guide us through Unity’s equivalent of Roll-a-ball. Anyone? It took me a few minutes to get comfy with that, not sure how to do it with UE4 and C++.
It would make a great decision easier for us hobbyists…
Thanks for the reply. That’s the title of the tutorial on their site, it’s very basic. Create some basic colliders to interact. The code to make the ball roll is:
public class PlayerController : MonoBehaviour {
// make the following public so that it's accessible from GUI
public float speed = 250.0f;
// FixedUpdate is called on fixed intervals
void FixedUpdate () {
float moveHorizontal = Input.GetAxis("Horizontal");
float moveVertical = Input.GetAxis("Vertical");
Vector3 movement = new Vector3(moveHorizontal, 0.0f, moveVertical);
rigidbody.AddForce(movement * speed * Time.deltaTime);
}
}
Programming would be easier for me to pick up than blueprints, I know how to code the basics but just looking how to piece the abc’s like the above…
Edit: that wasn’t very clear. I can assign a script to an object in Unity, how do I do that in ue4? Old coders like me need the ‘ahhhhaaaa’ that the tutorials haven’t hit yet.