Initial commit

This commit is contained in:
2026-02-18 00:08:49 +02:00
commit 5105b6b060
1270 changed files with 513010 additions and 0 deletions

20
Assets/Scripts/Swing.cs Normal file
View File

@@ -0,0 +1,20 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Swing : MonoBehaviour
{
private Rigidbody _rb;
[SerializeField] private float torque = 30f;
void Awake()
{
_rb = GetComponent<Rigidbody>();
}
void Start()
{
_rb.WakeUp();
_rb.AddTorque(transform.right * torque, ForceMode.Impulse);
}
}