Quantcast
Channel: Questions in topic: "realistic"
Viewing all articles
Browse latest Browse all 146

Unrealistic jump in C#

$
0
0
I'm using this code as gravitation (can't change this): `Vector3 direction = dragTo.transform.position - transform.position; transform.position += direction * gravity * Time.deltaTime;` When I use: `transform.position += transform.up * speed * Time.deltaTime;` to jump my character does a very short and unrealistic jump. Can I do this in another way?

Viewing all articles
Browse latest Browse all 146

Trending Articles



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