On second thought, this might be a good feature to have in a game’s settings. Is it possible? Thanks!
*bunp
Please don’t bump threads.
1 Like
Okay no prob. Sorry about that.
Multiply your movement logic by an additional variable to change its speed.
Example:
public class Example : MonoBehaviour {
public Vector3 targetPosition;
public float moveSpeed = 1f;
void MoveToTarget() {
transform.position = Vector3.MoveTowards(transform.positiom, targetPosition, Time.deltaTime * moveSpeed);
}
}
1 Like
Cool, thanks! I’m totally new to Unity. How do I implement this in say the 3D Game Kit?