Quantcast
Viewing all articles
Browse latest Browse all 104

Making FPS Controller move directly upwards

Hello, Similar to what you would do when you climb a ladder, I'm trying to move the FPS controller with Vector3.up not really sure if I can achieve what I want using this: #pragma strict var ChController : Transform; function Update() { if(Input.GetKeyDown("w")) { ChController.transform.position += Vector3.up * Time.deltaTime; } }

Viewing all articles
Browse latest Browse all 104

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>