Rigidbody forces and velocity
📖 Scenario: You are creating a simple Unity game where a ball moves when forces are applied. You want to control the ball's movement using Rigidbody physics.
🎯 Goal: Build a Unity script that applies a force to a Rigidbody and then reads its velocity to display how fast the ball is moving.
📋 What You'll Learn
Create a Rigidbody variable and assign it in the script
Create a Vector3 force variable with exact values
Apply the force to the Rigidbody using AddForce
Read the Rigidbody's velocity and print it
💡 Why This Matters
🌍 Real World
In many games, objects move realistically using physics forces and velocities. This project shows how to control and monitor that movement.
💼 Career
Understanding Rigidbody forces and velocity is essential for game developers working with Unity to create smooth and realistic object movements.
Progress0 / 4 steps