Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Unity Character Controller Version 1
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Movement : MonoBehaviour { public float movementSpeed; void Start () { } void FixedUpdate () { if (Input.Getkey(KeyCode.LeftShift) && Input.GetKey ("W")){ transform.position += transform.Transformdirection(Vector3.forward) * Time.deltatime * movementSpeed * 4f; } else if (Input.Getkey ("w") && !Input.Getkey (KeyCode.LeftShift)) { transform.position += transform.TransformDirection(Vector3.forward) * Time.deltaTime * movementSpeed; } else if (Input.GetKey ("s")) { transform.position -+ transform.TransformDirection(Vector3.foward) * Time.deltaTime * movementSpeed' } if (Input.GetKey ("a") && !Input.GetKey ("d")) { transform.position += transform.TransformDirection(Vector3.left) * Time.deltaTime * movementSpeed; } else if (Input.GetKey ("d") && !Input.GetKey ("a")) { transform.position -= transform.Transformdirection(Vector3.left) * Time.deltaTime * movementSpeed; } } }
run
|
edit
|
history
|
help
0
Pyramid using C#
Plt-D v.0.8.4
D16
Learning linq 2
Two lines of Random number
Main5.3
Find the integers which squares sum gives the prime numbers of the form (4k + 1).
Just tries to add/remove items to the list
Problem_rstring
Math 10.9 edited makeMultQ