Quantcast
Channel: Questions in topic: "swimming"
Viewing all articles
Browse latest Browse all 107

rigidbody.AddForce doesn´t work in c#

$
0
0
Hi, I´m trying to make a FPSCharacter swimm in water at a specific height level. I´m using rigidbody.AddForce to add a force that pushes the rigidbody up. However, AddForce isn´t working. I saw annother Question and it seems like i have to unchek "is kinematik" for it to work. But if i do that, i can run through the terrain and i get a few other Bugs too. If you know how to use AddForce with a kinematik rigid body, please let me know. And also, if you know another way to let a rigidbody swim on water, please let me know to.

Viewing all articles
Browse latest Browse all 107

Trending Articles



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