Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Hareket
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Kure : MonoBehaviour { [SerializeField] int Hiz=10; Rigidbody rb; // Use this for initialization void Start () { rb = GetComponent<Rigidbody>(); ///fiziksel özellikleri alınmış } // Update is called once per frame void Update () { float yatay = Input.GetAxis("Horizontal"); float dikey = Input.GetAxis("Vertical"); Vector3 hareket = new Vector3(yatay*Hiz, 0.0f, dikey*Hiz); rb.AddForce(hareket);//force güç ekle demek } }
run
|
edit
|
history
|
help
0
Welcome
d
JSON Seeder
Dynamic
Is first character of MD5 hash evenly distributed?
sdhfcsdcsi
Compression Decompressor
Sri 19 Sept
1
5