Quantcast
Channel: Questions in topic: "mass"
Viewing all articles
Browse latest Browse all 157

Rigidbody2D isKinematic effect by growing mass to huge number ?

$
0
0
Hey Guys, I a GameObject that has a Rigidbody2D on it and I want to be able to jump on it without it moves. So first thought I have was like, I'll check isKinematic, but then I realised that my OnTriggerEnter2D wasn't called anymore. So I sort of patched the problem by putting a huge mass on my rigidbody like 10000000, but I don't find this really clean. Does some one has an idea for this ? Thanks a lot for your time, Claude

Viewing all articles
Browse latest Browse all 157

Trending Articles



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